]> git.tdb.fi Git - libs/gui.git/commitdiff
Convert empty default constructors and destructors to defaulted
authorMikko Rasa <tdb@tdb.fi>
Wed, 4 Jan 2023 14:27:34 +0000 (16:27 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 4 Jan 2023 14:27:34 +0000 (16:27 +0200)
source/graphics/imageloader.h
source/graphics/simplewindow.h

index 345068cdc34a36bf41795f7a88059facd6c40516..d824291eb65086aefdad641e2d9ef5dbca873a56 100644 (file)
@@ -34,9 +34,9 @@ protected:
        class RegisterBase
        {
        protected:
-               RegisterBase() { }
+               RegisterBase() = default;
        public:
-               virtual ~RegisterBase() { }
+               virtual ~RegisterBase() = default;
 
                virtual unsigned get_signature_size() const = 0;
                virtual bool detect(const std::string &) const = 0;
index 26abd6acd33b20d87158708a9992495c1efdf4f3..c4fc3cfef8f47e99c4e6dfbd09567de97ad9b4e3 100644 (file)
@@ -17,7 +17,7 @@ class MSPGUI_API SimpleWindowBase
 protected:
        Display dpy;
 
-       SimpleWindowBase() { }
+       SimpleWindowBase() = default;
 };