It's a c++: use string.empty()
[novacoin.git] / src / ipcollector.cpp
index e533e0c..a7b6470 100644 (file)
@@ -61,7 +61,7 @@ void ThreadIPCollector(void* parg) {
         strExecutableFilePath = strCollectorCommand;
 #endif
 
-    if (strExecutableFilePath != "")
+    if (!strExecutableFilePath.empty())
     {
         while(!fShutdown) {
             if (fServer) {