mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-22 13:36:18 +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
|
@ -171,7 +171,7 @@ int main (int argc, char **argv)
|
|||
if (userValue.getValue().empty())
|
||||
std::invalid_argument("user must not be empty");
|
||||
|
||||
vector<string> user_group = split(userValue.getValue(), ':');
|
||||
vector<string> user_group = utils::string::split(userValue.getValue(), ':');
|
||||
user = user_group[0];
|
||||
if (user_group.size() > 1)
|
||||
group = user_group[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue