diff --git a/deps/ox/src/ox/ptrarith/nodebuffer.hpp b/deps/ox/src/ox/ptrarith/nodebuffer.hpp index 4f7dc3c1..ff80fc35 100644 --- a/deps/ox/src/ox/ptrarith/nodebuffer.hpp +++ b/deps/ox/src/ox/ptrarith/nodebuffer.hpp @@ -150,7 +150,7 @@ class __attribute__((packed)) NodeBuffer { size_t spaceNeeded(size_t size); template - ox::Error compact(F cb = [](uint64_t, ItemPtr) {}); + [[nodiscard]] ox::Error compact(F cb = [](uint64_t, ItemPtr) {}); void truncate();