diff --git a/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp b/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp index 391caae0..a0f58749 100644 --- a/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp +++ b/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp @@ -93,7 +93,7 @@ class FileStoreTemplate { Error read(InodeId_t id, FsSize_t readStart, FsSize_t readSize, void *data, FsSize_t *size = nullptr) const; - const ptrarith::Ptr read(InodeId_t id) const; + ptrarith::Ptr read(InodeId_t id) const; /** * Reads the "file" at the given id. You are responsible for freeing @@ -402,7 +402,7 @@ Error FileStoreTemplate::read(InodeId_t id, FsSize_t readStart, } template -const ptrarith::Ptr FileStoreTemplate::read(InodeId_t id) const { +ptrarith::Ptr FileStoreTemplate::read(InodeId_t id) const { auto item = find(id); if (item.valid()) { return item->data(); diff --git a/deps/ox/src/ox/fs/ptrarith/nodebuffer.hpp b/deps/ox/src/ox/fs/ptrarith/nodebuffer.hpp index 0af77813..53e9e76c 100644 --- a/deps/ox/src/ox/fs/ptrarith/nodebuffer.hpp +++ b/deps/ox/src/ox/fs/ptrarith/nodebuffer.hpp @@ -97,8 +97,6 @@ class OX_PACKED NodeBuffer { Header m_header; public: - NodeBuffer() noexcept; - NodeBuffer(const NodeBuffer &other, size_t size) noexcept; explicit NodeBuffer(size_t size) noexcept;