Fixed compile issue on Windows

This commit is contained in:
Matt Hill
2014-08-19 00:40:10 -04:00
parent d9cfa82e8d
commit 6b0fbc2f5e

View File

@@ -2,7 +2,7 @@
bool startsWith(std::string const &fullString, std::string const &prefix)
{
if(fullString.substr(0, prefix.size()) == prefix) {
if(fullString.substr(0, prefix.size()).compare(prefix) == 0) {
return true;
}