Core/Misc: Replace enable_if overload selection with if constexpr

This commit is contained in:
Shauren
2023-01-07 22:38:21 +01:00
parent 7830e5a7a1
commit a53e4a5756
9 changed files with 191 additions and 232 deletions

View File

@@ -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());
}