summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-09-22 11:11:53 +0200
committerMurray Cumming <murrayc@murrayc.com>2015-09-22 11:11:53 +0200
commit75f6a7eaa224cb352aad0cb5282359e42f1f66a2 (patch)
tree54b0bf4f27d5ec2df2412e97bdb2cb4c0f927d24
parenta8b240dcf67e4e8176b0ae3740dd326df94649b9 (diff)
downloadglibmm-75f6a7eaa224cb352aad0cb5282359e42f1f66a2.tar.gz
gmmproc: _CLASS_GOBJECT(): Move = deleted stuff to public.
It doesn't seem useful as private. The other classes already do this correctly.
-rw-r--r--tools/m4/class_gobject.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/m4/class_gobject.m4 b/tools/m4/class_gobject.m4
index 793f7d77..7eb7345b 100644
--- a/tools/m4/class_gobject.m4
+++ b/tools/m4/class_gobject.m4
@@ -254,16 +254,16 @@ public:
typedef __CNAME__ BaseObjectType;
typedef __REAL_CNAME__`'Class BaseClassType;
+ // noncopyable
+ __CPPNAME__`'(const __CPPNAME__&) = delete;
+ __CPPNAME__& operator=(const __CPPNAME__&) = delete;
+
m4_ifdef(`__BOOL_PROTECTED_GCLASS__',
`protected:',`dnl else
private:')dnl endif
friend class __CPPNAME__`'_Class;
static CppClassType `'__BASE__`'_class_;
- // noncopyable
- __CPPNAME__`'(const __CPPNAME__&) = delete;
- __CPPNAME__& operator=(const __CPPNAME__&) = delete;
-
protected:
explicit __CPPNAME__`'(const Glib::ConstructParams& construct_params);
explicit __CPPNAME__`'(__CNAME__* castitem);