aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authormattpetersepic <[email protected]>2022-01-17 10:42:28 -0700
committerGitHub <[email protected]>2022-01-17 10:42:28 -0700
commitc26623a6c7661b029f2c5d7104eb8cbb819cfa0d (patch)
tree0d25302ba8470ceaf1743c98c2fdabfc5480403b /zencore/include
parentDisabled mimalloc on Mac-Arm64 as vcpkg doesn't support it (diff)
downloadzen-c26623a6c7661b029f2c5d7104eb8cbb819cfa0d.tar.xz
zen-c26623a6c7661b029f2c5d7104eb8cbb819cfa0d.zip
Support chunk requests with no ValueId, and interpret them as requested for values put with the PutValue API, which sends a package with RawHash and RawSize on the root object. (#35)
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/uid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/uid.h b/zencore/include/zencore/uid.h
index d25aa8059..9659f5893 100644
--- a/zencore/include/zencore/uid.h
+++ b/zencore/include/zencore/uid.h
@@ -64,7 +64,7 @@ struct Oid
[[nodiscard]] static Oid FromMemory(const void* Ptr);
auto operator<=>(const Oid& rhs) const = default;
- [[nodiscard]] inline operator bool() const { return *this == Zero; }
+ [[nodiscard]] inline operator bool() const { return *this != Zero; }
static const Oid Zero; // Min (can be used to signify a "null" value, or for open range queries)
static const Oid Max; // Max (can be used for open range queries)