[asterisk-scf-commits] asterisk-scf/release/sip.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Dec 14 10:31:42 CST 2010


branch "master" has been updated
       via  a8911b4af0c2ffb706f78848765c82226af87120 (commit)
      from  85469f206455ec5f19481e6fc25b9600614b4a6c (commit)

Summary of changes:
 src/SipStateReplicatorListener.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit a8911b4af0c2ffb706f78848765c82226af87120
Author: Brent Eagles <beagles at digium.com>
Date:   Tue Dec 14 13:01:11 2010 -0330

    Fix a c++0x related issue where make_pair has been superseded by pair.

diff --git a/src/SipStateReplicatorListener.cpp b/src/SipStateReplicatorListener.cpp
index 7869fcd..725c33f 100644
--- a/src/SipStateReplicatorListener.cpp
+++ b/src/SipStateReplicatorListener.cpp
@@ -94,7 +94,9 @@ public:
 
                     // Unlike other state items sessions are special in that they create the local class that binds everything together
                     boost::shared_ptr<SipStateReplicatorItem> newitem(new SipStateReplicatorItem());
-                    mStateItems.insert(std::make_pair<std::string, boost::shared_ptr<SipStateReplicatorItem> >((*item)->mSessionId, newitem));
+                    mStateItems.insert(
+                      std::pair<std::string, boost::shared_ptr<SipStateReplicatorItem> >((*item)->mSessionId, newitem)
+                      );
                     localitem = newitem;
 
                     // Now that all is well we can create an actual session

-----------------------------------------------------------------------


-- 
asterisk-scf/release/sip.git



More information about the asterisk-scf-commits mailing list