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:
Nathaniel Hourt 2021-09-21 12:36:07 -05:00 committed by GitHub
parent 0248e20531
commit 21418ec46e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ struct Derivation_reflection_transformer {
} // namespace impl
// 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
#else
#define MAYBE_TEMPLATE