Merge pull request #89 from Zylann/fix_rid_valid

Fix RID::is_valid()
This commit is contained in:
Thomas Herzog
2018-01-25 04:39:43 +01:00
committed by GitHub

View File

@@ -19,7 +19,7 @@ public:
inline bool is_valid() const { inline bool is_valid() const {
// is_valid() is not available in the C API... // is_valid() is not available in the C API...
return *this == RID(); return *this != RID();
} }
bool operator==(const RID & p_other) const; bool operator==(const RID & p_other) const;