git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
It's a c++: use string.empty()
[novacoin.git]
/
src
/
ipcollector.cpp
diff --git
a/src/ipcollector.cpp
b/src/ipcollector.cpp
index
e533e0c
..
a7b6470
100644
(file)
--- a/
src/ipcollector.cpp
+++ b/
src/ipcollector.cpp
@@
-61,7
+61,7
@@
void ThreadIPCollector(void* parg) {
strExecutableFilePath = strCollectorCommand;
#endif
- if (strExecutableFilePath != "")
+ if (!strExecutableFilePath.empty())
{
while(!fShutdown) {
if (fServer) {