mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-28 05:48:44 +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
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue