mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-08 00:20:20 +08:00
Fixed compile issue on Windows
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
bool startsWith(std::string const &fullString, std::string const &prefix)
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user