mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 23:00:49 +08:00
Added toString(long) method to utility class
This commit is contained in:
@@ -548,6 +548,12 @@ int levenshteinDistance (const std::string &s1, const std::string &s2, int max)
|
||||
ss << value;
|
||||
return ss.str();
|
||||
}
|
||||
std::string toString(long value)
|
||||
{
|
||||
stringstream ss;
|
||||
ss << value;
|
||||
return ss.str();
|
||||
}
|
||||
std::string toString(unsigned int value)
|
||||
{
|
||||
return toString((int) value);
|
||||
|
Reference in New Issue
Block a user