summaryrefslogtreecommitdiff
path: root/glib/glibmm/property.h
diff options
context:
space:
mode:
Diffstat (limited to 'glib/glibmm/property.h')
-rw-r--r--glib/glibmm/property.h7
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