[ekiga/ds-fix-boost-leaks] Account: We need to use bind now that there is an argument.



commit 627a3a5bd74edc251f1fb2672c63e7abfc56f71e
Author: Damien Sandras <dsandras seconix com>
Date:   Sat Jun 20 18:05:52 2015 +0200

    Account: We need to use bind now that there is an argument.

 lib/engine/account/bank-impl.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/engine/account/bank-impl.h b/lib/engine/account/bank-impl.h
index e51a73b..95cd874 100644
--- a/lib/engine/account/bank-impl.h
+++ b/lib/engine/account/bank-impl.h
@@ -140,9 +140,9 @@ template<typename AccountType>
 Ekiga::BankImpl<AccountType>::BankImpl ()
 {
   /* this is signal forwarding */
-  accounts.object_added.connect (boost::ref (account_added), _1);
-  accounts.object_removed.connect (boost::ref (account_removed), _1);
-  accounts.object_updated.connect (boost::ref (account_updated), _1);
+  accounts.object_added.connect (boost::bind (boost::ref (account_added), _1));
+  accounts.object_removed.connect (boost::bind (boost::ref (account_removed), _1));
+  accounts.object_updated.connect (boost::bind (boost::ref (account_updated), _1));
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]