Removed global qualification of specialisation

This commit is contained in:
Phil nash 2019-04-25 10:23:58 +01:00
parent f2ee4f17ad
commit daeb5a87e6

View File

@ -641,7 +641,7 @@ struct ratio_string<std::milli> {
#endif // CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER
#define INTERNAL_CATCH_REGISTER_ENUM( enumName, ... ) \
template<> struct ::Catch::StringMaker<enumName> { \
template<> struct Catch::StringMaker<enumName> { \
static std::string convert( enumName value ) { \
static const auto& enumInfo = ::Catch::getMutableRegistryHub().getMutableEnumValuesRegistry().registerEnum( #enumName, #__VA_ARGS__, { __VA_ARGS__ } ); \
return enumInfo.lookup( static_cast<int>( value ) ); \