Fix RID::is_valid()

This commit is contained in:
Marc Gilleron 2018-01-25 01:10:55 +01:00
parent 9ed6edaae1
commit 8a89a447b2

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;