Merge pull request #89 from Zylann/fix_rid_valid

Fix RID::is_valid()
pull/90/head
Thomas Herzog 2018-01-25 04:39:43 +01:00 committed by GitHub
commit 8601a4678e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;