[ekiga/ds-fix-boost-leaks] Presence: We need to use bind now that there is an argument.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-fix-boost-leaks] Presence: We need to use bind now that there is an argument.
- Date: Sun, 21 Jun 2015 13:35:14 +0000 (UTC)
commit fc802e7b838ece94ad9890bfe98719070435d653
Author: Damien Sandras <dsandras seconix com>
Date: Sat Jun 20 16:42:02 2015 +0200
Presence: We need to use bind now that there is an argument.
lib/engine/presence/cluster-impl.h | 6 +++---
lib/engine/presence/heap-impl.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/lib/engine/presence/cluster-impl.h b/lib/engine/presence/cluster-impl.h
index 7fc277e..a989880 100644
--- a/lib/engine/presence/cluster-impl.h
+++ b/lib/engine/presence/cluster-impl.h
@@ -105,9 +105,9 @@ template<typename HeapType>
Ekiga::ClusterImpl<HeapType>::ClusterImpl ()
{
/* signal forwarding */
- heaps.object_added.connect (boost::ref (heap_added), _1);
- heaps.object_removed.connect (boost::ref (heap_removed), _1);
- heaps.object_updated.connect (boost::ref (heap_updated), _1);
+ heaps.object_added.connect (boost::bind (boost::ref (heap_added), _1));
+ heaps.object_removed.connect (boost::bind (boost::ref (heap_removed), _1));
+ heaps.object_updated.connect (boost::bind (boost::ref (heap_updated), _1));
}
template<typename HeapType>
diff --git a/lib/engine/presence/heap-impl.h b/lib/engine/presence/heap-impl.h
index e0a2041..0e91aa2 100644
--- a/lib/engine/presence/heap-impl.h
+++ b/lib/engine/presence/heap-impl.h
@@ -105,9 +105,9 @@ template<typename PresentityType>
Ekiga::HeapImpl<PresentityType>::HeapImpl ()
{
/* this is signal forwarding */
- presentities.object_added.connect (boost::ref (presentity_added), _1);
- presentities.object_removed.connect (boost::ref (presentity_removed), _1);
- presentities.object_updated.connect (boost::ref (presentity_updated), _1);
+ presentities.object_added.connect (boost::bind (boost::ref (presentity_added), _1));
+ presentities.object_removed.connect (boost::bind (boost::ref (presentity_removed), _1));
+ presentities.object_updated.connect (boost::bind (boost::ref (presentity_updated), _1));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]