diff options
| author | Stefan Boberg <[email protected]> | 2022-05-20 18:45:35 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-20 18:45:35 +0200 |
| commit | f0d389a4430b62bfa8ea0852905fcf84065b08c2 (patch) | |
| tree | 450344815e7bb7c3dde0d94f6032f048f3430527 /zenstore/include | |
| parent | fix mac compilation error (diff) | |
| download | zen-f0d389a4430b62bfa8ea0852905fcf84065b08c2.tar.xz zen-f0d389a4430b62bfa8ea0852905fcf84065b08c2.zip | |
Add catch2 support (#101)
Added option to use catch2 for unit tests
Currently both doctest and catch2 are supported via some compatibility macros. doctest is the default, and ZEN_USE_CATCH2 needs to be defined to switch to catch2.
Our goal is to evaluate how well catch2 works and switch to catch2 if everything pans out since UE5 now supports using catch2 for unit tests.
Diffstat (limited to 'zenstore/include')
| -rw-r--r-- | zenstore/include/zenstore/blockstore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zenstore/include/zenstore/blockstore.h b/zenstore/include/zenstore/blockstore.h index 34c475fb6..000395fb9 100644 --- a/zenstore/include/zenstore/blockstore.h +++ b/zenstore/include/zenstore/blockstore.h @@ -64,6 +64,8 @@ struct BlockStoreDiskLocation inline uint64_t GetSize() const { return m_Size; } + inline auto operator<=>(const BlockStoreDiskLocation& Rhs) const = default; + private: inline void Init(uint32_t BlockIndex, uint64_t Offset, uint64_t Size) { |