to_string and stoul for Android c++11

This commit is contained in:
badaix 2015-12-29 13:30:29 +01:00
parent d51642aa2b
commit 76d19efe0c
3 changed files with 20 additions and 4 deletions

View file

@ -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]));
}