io: ensure override is used on overridden members

This commit is contained in:
Danny Robson 2021-06-03 12:56:44 +10:00
parent aee3ee29d7
commit 4d1ee7c21e

2
io.hpp
View File

@ -220,7 +220,7 @@ namespace cruft {
class stream_error : public std::exception { class stream_error : public std::exception {
public: public:
virtual const char* what (void) const noexcept const char* what (void) const noexcept override
{ return "error on C stream"; } { return "error on C stream"; }
}; };
} }