diff --git a/flint/Polyfill.cpp b/flint/Polyfill.cpp index 8d86992..583aca4 100644 --- a/flint/Polyfill.cpp +++ b/flint/Polyfill.cpp @@ -4,6 +4,7 @@ #include #include #include +#include // Conditional includes for folder traversal #ifdef _WIN32 @@ -143,7 +144,7 @@ namespace flint { * Returns true if str ends with an instance of prefix */ bool startsWith(const string &str, const string &prefix) { - return std::mismatch(begin(prefix), end(prefix), begin(str)).first == end(prefix); + return mismatch(begin(prefix), end(prefix), begin(str)).first == end(prefix); }; /**