Compiler incompatibility
It broke again so poke it again. Perhaps all clang versions require `template` here? I'm not sure, haven't gotten around to testing all the different compilers on it yet.
This commit is contained in:
parent
0248e20531
commit
21418ec46e
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ struct Derivation_reflection_transformer {
|
||||||
} // namespace impl
|
} // namespace impl
|
||||||
|
|
||||||
// Workaround to inconsistent compiler rules on whether template must/cannot be specified here
|
// Workaround to inconsistent compiler rules on whether template must/cannot be specified here
|
||||||
#if defined(__clang__) && __clang_major__ < 11
|
#if defined(__clang__)
|
||||||
#define MAYBE_TEMPLATE template
|
#define MAYBE_TEMPLATE template
|
||||||
#else
|
#else
|
||||||
#define MAYBE_TEMPLATE
|
#define MAYBE_TEMPLATE
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue