diff options
Diffstat (limited to 'entity/name-of.hpp')
-rw-r--r-- | entity/name-of.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/entity/name-of.hpp b/entity/name-of.hpp index 592f07c1..39e1b8c9 100644 --- a/entity/name-of.hpp +++ b/entity/name-of.hpp @@ -8,11 +8,11 @@ #endif template<typename T> -static constexpr auto _name_of() { +static constexpr auto _name_of() { // NOLINT(bugprone-reserved-identifier) using namespace Corrade::Containers; using SVF = StringViewFlag; constexpr const char* str = FM_PRETTY_FUNCTION; return StringView { str, Implementation::strlen_(str), SVF::Global|SVF::NullTerminated }; } -template<typename T> constexpr inline Corrade::Containers::StringView name_of = _name_of<T>(); +template<typename T> constexpr inline auto name_of = _name_of<T>(); |