diff options
Diffstat (limited to 'glib/glibmm/property.h')
-rw-r--r-- | glib/glibmm/property.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/glib/glibmm/property.h b/glib/glibmm/property.h index 716d8599..dadc0f29 100644 --- a/glib/glibmm/property.h +++ b/glib/glibmm/property.h @@ -57,6 +57,10 @@ class PropertyBase { public: + // noncopyable + PropertyBase(const PropertyBase&) = delete; + PropertyBase& operator=(const PropertyBase&) = delete; + /** Returns the name of the property. */ Glib::ustring get_name() const; @@ -98,9 +102,6 @@ protected: const char* get_name_internal() const; private: - // noncopyable - PropertyBase(const PropertyBase&); - PropertyBase& operator=(const PropertyBase&); #ifndef DOXYGEN_SHOULD_SKIP_THIS |