mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-09 06:11:45 +02:00
to_string and stoul for Android c++11
This commit is contained in:
parent
d51642aa2b
commit
76d19efe0c
3 changed files with 20 additions and 4 deletions
|
@ -61,9 +61,9 @@ void SampleFormat::setFormat(const std::string& format)
|
|||
strs = split(format, ':');
|
||||
if (strs.size() == 3)
|
||||
setFormat(
|
||||
std::stoul(strs[0]),
|
||||
std::stoul(strs[1]),
|
||||
std::stoul(strs[2]));
|
||||
utl::stoul(strs[0]),
|
||||
utl::stoul(strs[1]),
|
||||
utl::stoul(strs[2]));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue