io: ensure override is used on overridden members
This commit is contained in:
parent
aee3ee29d7
commit
4d1ee7c21e
2
io.hpp
2
io.hpp
@ -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"; }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user