diff --git a/src/platform/common.hpp b/src/platform/common.hpp index 87fb40d..02bed7d 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 { + virtual const char* what() const noexcept override { return "Unable to read file"; } };