diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-01-07 22:38:21 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2023-08-12 17:56:16 +0200 |
commit | 27cd5a90f4c1f34c47cd4e1bd1a616e9b11b10ec (patch) | |
tree | 4e8b102f603a7ed0e3dea1a37274774a78127423 /src/common/Utilities/Util.cpp | |
parent | d251ab647dd4f48603b37b7150627a39e9a30f45 (diff) |
Core/Misc: Replace enable_if overload selection with if constexpr
(cherry picked from commit a53e4a57565d3375a978effbbc32d3eed6aac7e3)
Diffstat (limited to 'src/common/Utilities/Util.cpp')
-rw-r--r-- | src/common/Utilities/Util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Utilities/Util.cpp b/src/common/Utilities/Util.cpp index 45ab3098e91..4693bd9eb08 100644 --- a/src/common/Utilities/Util.cpp +++ b/src/common/Utilities/Util.cpp @@ -708,7 +708,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()); } |