diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-14 19:57:45 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-14 19:57:45 +0100 |
commit | add8724446fdeae1aaec9b07544cf7a5475a9bfe (patch) | |
tree | 7c51cf0d65f8f0d906a0abe2b29bad916dcf83e8 /src/crepe/util/OptionalRef.hpp | |
parent | ab0b4923c4f49e7a28f6d17e994d3e013ca344bb (diff) |
ResourceManager working + tested
Diffstat (limited to 'src/crepe/util/OptionalRef.hpp')
-rw-r--r-- | src/crepe/util/OptionalRef.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/util/OptionalRef.hpp b/src/crepe/util/OptionalRef.hpp index e603a25..7b201b0 100644 --- a/src/crepe/util/OptionalRef.hpp +++ b/src/crepe/util/OptionalRef.hpp @@ -60,7 +60,7 @@ OptionalRef<T> & OptionalRef<T>::operator=(T & ref) { template <typename T> OptionalRef<T>::operator bool() const noexcept { - return this->ref == nullptr; + return this->ref != nullptr; } } |