[ox/ptrarith] Add nodiscard to Error return of NodeBuffer::compact
This commit is contained in:
parent
deaa1f13f5
commit
c87e92da71
2
deps/ox/src/ox/ptrarith/nodebuffer.hpp
vendored
2
deps/ox/src/ox/ptrarith/nodebuffer.hpp
vendored
@ -150,7 +150,7 @@ class __attribute__((packed)) NodeBuffer {
|
||||
size_t spaceNeeded(size_t size);
|
||||
|
||||
template<typename F>
|
||||
ox::Error compact(F cb = [](uint64_t, ItemPtr) {});
|
||||
[[nodiscard]] ox::Error compact(F cb = [](uint64_t, ItemPtr) {});
|
||||
|
||||
void truncate();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user