Switch string_utils to use rdc types

This commit is contained in:
baldurk
2019-12-16 17:06:15 +00:00
parent ec7a852582
commit 5f33403849
29 changed files with 327 additions and 399 deletions
+1 -2
View File
@@ -354,8 +354,7 @@ void initAdb()
Process::ProcessResult res = {};
Process::LaunchProcess(adb.c_str(), workdir.c_str(), "start-server", true, &res);
if(res.strStdout.find("daemon") != std::string::npos ||
res.strStderror.find("daemon") != std::string::npos)
if(res.strStdout.find("daemon") >= 0 || res.strStderror.find("daemon") >= 0)
{
RDCLOG("Started adb server");
}