diff options
Diffstat (limited to 'src/zencore')
| -rw-r--r-- | src/zencore/include/zencore/uid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zencore/include/zencore/uid.h b/src/zencore/include/zencore/uid.h index 9659f5893..a356da88d 100644 --- a/src/zencore/include/zencore/uid.h +++ b/src/zencore/include/zencore/uid.h @@ -63,8 +63,8 @@ struct Oid void ToString(char OutString[StringLength]); [[nodiscard]] static Oid FromMemory(const void* Ptr); - auto operator<=>(const Oid& rhs) const = default; - [[nodiscard]] inline operator bool() const { return *this != Zero; } + auto operator<=>(const Oid& rhs) const = default; + [[nodiscard]] inline explicit 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) |