diff options
author | Murray Cumming <murrayc@murrayc.com> | 2015-09-01 16:54:03 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2015-09-01 16:54:03 +0200 |
commit | 935d0561bb0fc11ac1e52f27d3d118ca30a6dc96 (patch) | |
tree | 0ebd222ddbcaa29c7b706c76aa5b0be7e93c412c | |
parent | 489860d061b518ead43c096de5c076d168491ae5 (diff) | |
download | glibmm-935d0561bb0fc11ac1e52f27d3d118ca30a6dc96.tar.gz |
IOChannel: move operations: Call the base sigc::trackable.
-rw-r--r-- | glib/src/iochannel.ccg | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/glib/src/iochannel.ccg b/glib/src/iochannel.ccg index fd8df453..13319f1d 100644 --- a/glib/src/iochannel.ccg +++ b/glib/src/iochannel.ccg @@ -128,13 +128,16 @@ IOChannel::IOChannel() } IOChannel::IOChannel(IOChannel&& other) noexcept -: gobject_(std::move(other.gobject_)) +: sigc::trackable(std::move(other)), + gobject_(std::move(other.gobject_)) { other.gobject_ = nullptr; } IOChannel& IOChannel::operator=(IOChannel&& other) noexcept { + sigc::trackable::operator=(std::move(other)); + release_gobject(); gobject_ = std::move(other.gobject_); |