diff --git a/src/platform/common.hpp b/src/platform/common.hpp index 02bed7d..3733f2c 100644 --- a/src/platform/common.hpp +++ b/src/platform/common.hpp @@ -261,7 +261,7 @@ T load_bytes(FILE* obj_file, off_t offset) { } class file_error : std::exception { - virtual const char* what() const noexcept override { + const char* what() const noexcept override { return "Unable to read file"; } };