introspection: change constexpr arrays to const
clang doesn't much like non-literal types as constexpr. We can live with them as const values for the time being, so lets do that to avoid too much code churn.
This commit is contained in:
parent
dca8b174c6
commit
7a8e1ddb6f
@ -159,7 +159,7 @@ namespace util {
|
||||
///
|
||||
/// Expects to be called from outside all namespaces.
|
||||
#define INTROSPECTION_ENUM_IMPL(NS,E, ...) \
|
||||
constexpr \
|
||||
const \
|
||||
std::array< \
|
||||
util::enum_traits<::NS::E>::value_type, \
|
||||
util::enum_traits<::NS::E>::value_count \
|
||||
|
Loading…
Reference in New Issue
Block a user