summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Gilleron <marc.gilleron@gmail.com>2018-01-25 01:10:55 +0100
committerMarc Gilleron <marc.gilleron@gmail.com>2018-01-25 01:10:55 +0100
commit8a89a447b2dd83ff592ceb287f5c3d737cdc2233 (patch)
tree281aaa63b78ad2a47d0ff3ea894ee47adc06295b
parent9ed6edaae19439314558c1cf97e5881a073c7e59 (diff)
downloadredot-cpp-8a89a447b2dd83ff592ceb287f5c3d737cdc2233.tar.gz
Fix RID::is_valid()
-rw-r--r--include/core/RID.hpp2
1 files changed, 1 insertions, 1 deletions
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;