From 8a89a447b2dd83ff592ceb287f5c3d737cdc2233 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Thu, 25 Jan 2018 01:10:55 +0100 Subject: [PATCH] Fix RID::is_valid() --- include/core/RID.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/core/RID.hpp b/include/core/RID.hpp index 71b5140..e789863 100644 --- a/include/core/RID.hpp +++ b/include/core/RID.hpp @@ -19,7 +19,7 @@ public: inline bool is_valid() const { // is_valid() is not available in the C API... - return *this == RID(); + return *this != RID(); } bool operator==(const RID & p_other) const;