Commit 358c88d3 authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

fix Clang < 3.9 compilation

Clang < 3.9 requires const objects without an initialiser to have a
user-declared default constructor. It seems this rule was actually a mistake in
the standard [0], but Clang implemented it at its word. This is fixed in Clang
3.9, but to compile with versions prior to this we need to define a trivial
default constructor for a couple of classes.

  [0]: http://open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#253
parent c38a0f11
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment