mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 13:10:26 -04:00
use to_string
Lighterweight function. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
eaf7955c63
commit
6d0f0ad170
@ -515,12 +515,12 @@ bool String::isAscii() const
|
||||
|
||||
String String::number(int n) // static
|
||||
{
|
||||
return Utils::formatString("%d", n);
|
||||
return std::to_string(n);
|
||||
}
|
||||
|
||||
String String::fromLongLong(long long n) // static
|
||||
{
|
||||
return Utils::formatString("%lld", n);
|
||||
return std::to_string(n);
|
||||
}
|
||||
|
||||
wchar_t &String::operator[](int i)
|
||||
|
Loading…
Reference in New Issue
Block a user