[glibmm] ObjectBase: move operations: Call the sigc::trackable base.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] ObjectBase: move operations: Call the sigc::trackable base.
- Date: Tue, 1 Sep 2015 15:03:24 +0000 (UTC)
commit ab8f9d8a6aac54d1b57eb6455dcdcb92c59d7009
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Sep 1 17:00:54 2015 +0200
ObjectBase: move operations: Call the sigc::trackable base.
glib/glibmm/objectbase.cc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/glib/glibmm/objectbase.cc b/glib/glibmm/objectbase.cc
index 96fba70..1a1f522 100644
--- a/glib/glibmm/objectbase.cc
+++ b/glib/glibmm/objectbase.cc
@@ -113,13 +113,16 @@ void ObjectBase::initialize_move(GObject* castitem, Glib::ObjectBase* previous_w
}
ObjectBase::ObjectBase(ObjectBase&& src) noexcept
-: gobject_(std::move(src.gobject_)),
+: sigc::trackable(std::move(src)),
+ gobject_(std::move(src.gobject_)),
custom_type_name_(std::move(src.custom_type_name_)),
cpp_destruction_in_progress_(std::move(src.custom_type_name_))
{}
ObjectBase& ObjectBase::operator=(ObjectBase&& src) noexcept
{
+ sigc::trackable::operator=(std::move(src));
+
if(gobject_)
unreference();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]