diff --git a/hecl/include/hecl/hecl.hpp b/hecl/include/hecl/hecl.hpp index 80ff77f68..28a0ba3c8 100644 --- a/hecl/include/hecl/hecl.hpp +++ b/hecl/include/hecl/hecl.hpp @@ -503,13 +503,11 @@ struct CaseInsensitiveCompare { }); } -#if _WIN32 bool operator()(std::wstring_view lhs, std::wstring_view rhs) const { return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end(), [](wchar_t lhs, wchar_t rhs) { return std::towlower(lhs) < std::towlower(rhs); }); } -#endif }; /**