diff --git a/src/ox/fs/filestore/filestoretemplate.hpp b/src/ox/fs/filestore/filestoretemplate.hpp index c8ca47e3a..d8cb2898b 100644 --- a/src/ox/fs/filestore/filestoretemplate.hpp +++ b/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/src/ox/fs/filesystem/filesystem.hpp b/src/ox/fs/filesystem/filesystem.hpp index 9f75a58b1..35afd60da 100644 --- a/src/ox/fs/filesystem/filesystem.hpp +++ b/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;