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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Oct 20 09:20:01 CDT 2010


branch "master" has been updated
       via  4b691d901dde5b5220cbe5a5f60b657919849d97 (commit)
      from  9718cc5806a90c0b22c571b87be0aa30d02e2c85 (commit)

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


- Log -----------------------------------------------------------------
commit 4b691d901dde5b5220cbe5a5f60b657919849d97
Author: Joshua Colp <jcolp at digium.com>
Date:   Wed Oct 20 07:18:03 2010 -0700

    Remove some new(s) that are not needed.

diff --git a/src/SipSession.cpp b/src/SipSession.cpp
index 2d158eb..9e2adef 100644
--- a/src/SipSession.cpp
+++ b/src/SipSession.cpp
@@ -307,7 +307,7 @@ AsteriskSCF::SessionCommunications::V1::BridgePrx SipSession::getBridge(const Ic
 
    if (mImplPriv->mBridge == 0)
    {
-      throw new AsteriskSCF::SessionCommunications::V1::NotBridged();
+      throw AsteriskSCF::SessionCommunications::V1::NotBridged();
    }
 
    return mImplPriv->mBridge;
@@ -341,7 +341,7 @@ void SipSession::removeBridge(const AsteriskSCF::SessionCommunications::V1::Sess
 {
    if (mImplPriv->mBridge == 0)
    {
-      throw new AsteriskSCF::SessionCommunications::V1::NotBridged();
+      throw AsteriskSCF::SessionCommunications::V1::NotBridged();
    }
 
    setBridge(0);

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list