From 0b3b54b3fdc8aba5ab73dd214348dcb41299ec5b Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 16 Oct 2020 00:07:43 -0500 Subject: [PATCH] [ox] Remove remaining nodiscards from Error functions --- deps/ox/src/ox/fs/filestore/filestoretemplate.hpp | 2 +- deps/ox/src/ox/fs/filesystem/filesystem.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;