]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/seekable.h
Mark constructors and destructors as default where appropriate
[libs/core.git] / source / io / seekable.h
index 99915d850efc3a8879d88a7e9e3e9de7e11eb531..68454d038bc31ff50118044292906af36dba6895 100644 (file)
@@ -24,14 +24,14 @@ class bad_seek: public std::runtime_error
 {
 public:
        bad_seek(SeekOffset, SeekType);
 {
 public:
        bad_seek(SeekOffset, SeekType);
-       virtual ~bad_seek() throw() { }
+       virtual ~bad_seek() throw() = default;
 };
 
 
 class Seekable: public Base
 {
 protected:
 };
 
 
 class Seekable: public Base
 {
 protected:
-       Seekable() { }
+       Seekable() = default;
 
 public:
        /** Changes the read/write offset.  Returns the new offset. */
 
 public:
        /** Changes the read/write offset.  Returns the new offset. */