diff --git a/lib/base/value.hpp b/lib/base/value.hpp index ad75dcf59..45bd983ef 100644 --- a/lib/base/value.hpp +++ b/lib/base/value.hpp @@ -209,7 +209,7 @@ public: */ inline bool IsObject(void) const { - return !IsEmpty() && (GetType() == ValueObject); + return (GetType() == ValueObject); } template