diff options
| author | Thomas Herzog <thomas.herzog@mail.com> | 2018-01-25 04:39:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-25 04:39:43 +0100 |
| commit | 8601a4678e840015f1690bca7cb10982bcf6462b (patch) | |
| tree | 281aaa63b78ad2a47d0ff3ea894ee47adc06295b | |
| parent | 9ed6edaae19439314558c1cf97e5881a073c7e59 (diff) | |
| parent | 8a89a447b2dd83ff592ceb287f5c3d737cdc2233 (diff) | |
| download | redot-cpp-8601a4678e840015f1690bca7cb10982bcf6462b.tar.gz | |
Merge pull request #89 from Zylann/fix_rid_valid
Fix RID::is_valid()
| -rw-r--r-- | include/core/RID.hpp | 2 |
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; |
