mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 08:59:11 +01:00
Core/Misc: Replace enable_if overload selection with if constexpr
This commit is contained in:
@@ -893,7 +893,7 @@ bool StringCompareLessI(std::string_view a, std::string_view b)
|
||||
return std::lexicographical_compare(a.begin(), a.end(), b.begin(), b.end(), [](char c1, char c2) { return std::tolower(c1) < std::tolower(c2); });
|
||||
}
|
||||
|
||||
std::string GetTypeName(std::type_info const& info)
|
||||
std::string Trinity::Impl::GetTypeName(std::type_info const& info)
|
||||
{
|
||||
return boost::core::demangle(info.name());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user