diff --git a/src/lib/util.hpp b/src/lib/util.hpp index 1383e6244..cc1d18909 100644 --- a/src/lib/util.hpp +++ b/src/lib/util.hpp @@ -26,7 +26,6 @@ #include #include -#include #include @@ -84,7 +83,7 @@ namespace util { inline bool isnil (const char* pCStr) { - return !pCStr || 0 == std::strlen(pCStr); + return !pCStr || !(*pCStr); }