]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dialog.h
Simplify constructors with C++11
[libs/gltk.git] / source / dialog.h
index 3eb3f98d2845cbe77a68f592ce418dc38103597d..e71222739cc415acf1876f3e1f3e60a560f11752 100644 (file)
@@ -27,11 +27,9 @@ public:
        sigc::signal<void, int> signal_response;
 
 private:
-       bool stale;
+       bool stale = false;
 
 public:
-       Dialog();
-
        virtual const char *get_class() const { return "dialog"; }
 
        /** Adds an action button to the dialog.  Pressing the button will invoke