summaryrefslogtreecommitdiff
path: root/glib/glibmm/property.h
diff options
context:
space:
mode:
authorMarcin Kolny <marcin.kolny@gmail.com>2015-08-08 14:45:12 +0200
committerMarcin Kolny <marcin.kolny@gmail.com>2015-08-08 14:45:59 +0200
commit0d5f63b18f5766760cf39e82ee11482984e0a938 (patch)
treee3f74b9b37e7618c92840024077dff43e6d08f0d /glib/glibmm/property.h
parentdce7a844e48a582e42eb2b60eef5c1f2527540ac (diff)
parentd94115843f38967b5e883f5f7d8057882ae364cb (diff)
downloadglibmm-gir-gmmproc.tar.gz
Merge branch 'master' into glibmm-gir-gmmprocglibmm-gir-gmmproc
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