X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fseekable.h;fp=source%2Fio%2Fseekable.h;h=68454d038bc31ff50118044292906af36dba6895;hp=99915d850efc3a8879d88a7e9e3e9de7e11eb531;hb=99b9121e2158603372c7313400283b622e6754d8;hpb=30ce69b5cb05712c3a4903b0f397912119c4f1f9 diff --git a/source/io/seekable.h b/source/io/seekable.h index 99915d8..68454d0 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() { } + virtual ~bad_seek() throw() = default; }; class Seekable: public Base { protected: - Seekable() { } + Seekable() = default; public: /** Changes the read/write offset. Returns the new offset. */