[glibmm] gmmproc: _CLASS_GOBJECT(): Move = deleted stuff to public.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] gmmproc: _CLASS_GOBJECT(): Move = deleted stuff to public.
- Date: Tue, 22 Sep 2015 09:47:27 +0000 (UTC)
commit 75f6a7eaa224cb352aad0cb5282359e42f1f66a2
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Sep 22 11:11:53 2015 +0200
gmmproc: _CLASS_GOBJECT(): Move = deleted stuff to public.
It doesn't seem useful as private. The other classes already do this
correctly.
tools/m4/class_gobject.m4 | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tools/m4/class_gobject.m4 b/tools/m4/class_gobject.m4
index 793f7d7..7eb7345 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]