diff --git a/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp b/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp index c8ca47e3..d8cb2898 100644 --- a/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp +++ b/deps/ox/src/ox/fs/filestore/filestoretemplate.hpp @@ -77,7 +77,7 @@ class FileStoreTemplate { FileStoreTemplate(void *buff, size_t buffSize); - [[nodiscard]] static Error format(void *buffer, size_t bufferSize); + static Error format(void *buffer, size_t bufferSize); Error setSize(InodeId_t buffSize); diff --git a/deps/ox/src/ox/fs/filesystem/filesystem.hpp b/deps/ox/src/ox/fs/filesystem/filesystem.hpp index 9f75a58b..35afd60d 100644 --- a/deps/ox/src/ox/fs/filesystem/filesystem.hpp +++ b/deps/ox/src/ox/fs/filesystem/filesystem.hpp @@ -105,7 +105,7 @@ class FileSystemTemplate: public FileSystem { ~FileSystemTemplate(); - [[nodiscard]] static ox::Error format(void *buff, uint64_t buffSize); + static Error format(void *buff, uint64_t buffSize); Error mkdir(const char *path, bool recursive = false) override;