X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fseekable.h;h=84a556163e764e40ed837703434a01dfd60fe9a9;hp=99915d850efc3a8879d88a7e9e3e9de7e11eb531;hb=991fabc1956b73a4007859058fb44171000b452e;hpb=b116e161e377da0e4e52f07745ecb2d22f962ae9 diff --git a/source/io/seekable.h b/source/io/seekable.h index 99915d8..84a5561 100644 --- a/source/io/seekable.h +++ b/source/io/seekable.h @@ -24,14 +24,14 @@ class bad_seek: public std::runtime_error { public: bad_seek(SeekOffset, SeekType); - virtual ~bad_seek() throw() { } + ~bad_seek() throw() override = default; }; class Seekable: public Base { protected: - Seekable() { } + Seekable() = default; public: /** Changes the read/write offset. Returns the new offset. */