]> git.tdb.fi Git - libs/gltk.git/commitdiff
Make widgets non-copyable
authorMikko Rasa <tdb@tdb.fi>
Wed, 16 Oct 2013 12:17:56 +0000 (15:17 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 16 Oct 2013 15:55:18 +0000 (18:55 +0300)
source/widget.h

index 6cb3d0654362f60142e4d083561291879713a7c8..461cafe232781b1fb490a93bf85e19785ed4e961 100644 (file)
@@ -53,6 +53,9 @@ protected:
        PartCache part_cache;
 
        Widget();
+private:
+       Widget(const Widget &);
+       Widget &operator=(const Widget &);
 public:
        virtual ~Widget();