move string utils in namespace utils::string

This commit is contained in:
badaix 2017-06-05 12:48:59 +02:00
parent b8f69ce58f
commit fa3f78b08d
12 changed files with 178 additions and 133 deletions

View file

@ -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]),