mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-19 09:27:38 +02:00
move string utils in namespace utils::string
This commit is contained in:
parent
b8f69ce58f
commit
fa3f78b08d
12 changed files with 178 additions and 133 deletions
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include "sampleFormat.h"
|
||||
#include "common/strCompat.h"
|
||||
#include "common/utils/string_utils.h"
|
||||
#include "common/utils.h"
|
||||
#include "common/log.h"
|
||||
|
||||
|
@ -57,7 +58,7 @@ string SampleFormat::getFormat() const
|
|||
void SampleFormat::setFormat(const std::string& format)
|
||||
{
|
||||
std::vector<std::string> strs;
|
||||
strs = split(format, ':');
|
||||
strs = utils::string::split(format, ':');
|
||||
if (strs.size() == 3)
|
||||
setFormat(
|
||||
cpt::stoul(strs[0]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue