From ff59402a105c3b9932bf487523783e65a5138b36 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 23 Sep 2015 10:48:49 +0200 Subject: [PATCH] Remove unnecessary check in Value::IsObject refs #10199 --- lib/base/value.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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