[asterisk-scf-commits] asterisk-scf/integration/media_rtp_pjmedia.git branch "rtcp" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Jul 12 17:20:09 CDT 2011


branch "rtcp" has been updated
       via  cf15c596413702637507aac9e4eb7d010412ab7e (commit)
      from  2e2923e09eb4045a15578884de929a982868e531 (commit)

Summary of changes:
 src/RTPSession.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit cf15c596413702637507aac9e4eb7d010412ab7e
Author: Joshua Colp <jcolp at digium.com>
Date:   Tue Jul 12 19:20:58 2011 -0300

    Incorporate review feedback.

diff --git a/src/RTPSession.cpp b/src/RTPSession.cpp
index 6ad9b67..ffc9839 100644
--- a/src/RTPSession.cpp
+++ b/src/RTPSession.cpp
@@ -101,7 +101,7 @@ public:
     void removeListener(const RTCP::V1::InformationListenerPrx& listener, const Ice::Current&)
     {
         boost::unique_lock<boost::shared_mutex> lock(mLock);
-        std::remove(mListeners.begin(), mListeners.end(), listener);
+        mListeners.erase(std::remove(mListeners.begin(), mListeners.end(), listener), mListeners.end());
     }
 
     /**

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


-- 
asterisk-scf/integration/media_rtp_pjmedia.git



More information about the asterisk-scf-commits mailing list