diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-18 11:36:18 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-18 12:29:32 +0100 |
commit | 44b40de7fc70fe81757a0288422de1953a2f98cb (patch) | |
tree | 1777029e9471285cd462295383dc2c148fe46af9 /entity/name-of.hpp | |
parent | 7e79dbfedfc019b269139b5308e4811938b75278 (diff) |
entity: fix warning
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 39e1b8c9..2f86d9b8 100644 --- a/entity/name-of.hpp +++ b/entity/name-of.hpp @@ -8,11 +8,11 @@ #endif template<typename T> -static constexpr auto _name_of() { // NOLINT(bugprone-reserved-identifier) +static constexpr auto mangled_name() { // 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 auto name_of = _name_of<T>(); +template<typename T> constexpr inline auto name_of = mangled_name<T>(); |