diff --git a/server/server.cpp b/server/server.cpp index 0875608..175cbdc 100644 --- a/server/server.cpp +++ b/server/server.cpp @@ -3,6 +3,8 @@ #include "mail.h" +#include +#include #include #include #include @@ -21,7 +23,6 @@ #include #include #include -#include #include @@ -500,5 +501,6 @@ bool ichar_equals(char a, char b) bool iequals(std::string_view lhs, std::string_view rhs) { - return std::ranges::equal(lhs, rhs, ichar_equals); + // return std::ranges::equal(lhs, rhs, ichar_equals); + return std::equal(lhs.begin(), lhs.end(), rhs.begin(), ichar_equals); } \ No newline at end of file