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

@ -18,6 +18,7 @@
#include "airplayStream.h"
#include "common/snapException.h"
#include "common/utils/string_utils.h"
#include "common/utils.h"
#include "common/log.h"
@ -68,7 +69,7 @@ void AirplayStream::initExeAndPath(const std::string& filename)
void AirplayStream::onStderrMsg(const char* buffer, size_t n)
{
string logmsg = trim_copy(string(buffer, n));
string logmsg = utils::string::trim_copy(string(buffer, n));
if (logmsg.empty())
return;
logO << "(" << getName() << ") " << logmsg << "\n";