summaryrefslogtreecommitdiff
path: root/glib/glibmm/object.h
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-08-21 21:19:45 +0200
committerMurray Cumming <murrayc@murrayc.com>2015-08-22 12:10:13 +0200
commit3261c1dea29cad27e4303b7a4d212b5351762f39 (patch)
tree4f2553e5111766f0b85bea002a908c11698613a3 /glib/glibmm/object.h
parentc0772fa252ad560f0347280f4f3e3ba308dc1e44 (diff)
downloadglibmm-3261c1dea29cad27e4303b7a4d212b5351762f39.tar.gz
Glib::ObjectBase, Object, Interface: Add move operators.
Add move constructors and move assignment operators so that derived classes can have these too.
Diffstat (limited to 'glib/glibmm/object.h')
-rw-r--r--glib/glibmm/object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/glib/glibmm/object.h b/glib/glibmm/object.h
index 202b28e5..0b275fdb 100644
--- a/glib/glibmm/object.h
+++ b/glib/glibmm/object.h
@@ -107,6 +107,9 @@ public:
Object(const Object&) = delete;
Object& operator=(const Object&) = delete;
+ Object(Object&& src) noexcept;
+ Object& operator=(Object&& src) noexcept;
+
protected:
Object(); //For use by C++-only sub-types.
explicit Object(const Glib::ConstructParams& construct_params);