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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Apr 27 10:55:52 CDT 2011


branch "master" has been updated
       via  4cfeb7a208a49f4b0be34130bbe755f5375840ab (commit)
      from  ebddbc0394fe72aff0c868e8baae0f913e00943a (commit)

Summary of changes:
 src/TestEndpoint.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)


- Log -----------------------------------------------------------------
commit 4cfeb7a208a49f4b0be34130bbe755f5375840ab
Author: David M. Lee <dlee at digium.com>
Date:   Wed Apr 27 10:55:22 2011 -0500

    Fixed shadows-a-member-of-this warnings.

diff --git a/src/TestEndpoint.cpp b/src/TestEndpoint.cpp
index 2ad670e..33d04b2 100644
--- a/src/TestEndpoint.cpp
+++ b/src/TestEndpoint.cpp
@@ -88,9 +88,9 @@ public:
 
     void progressing(const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response)
     {
-	AsteriskSCF::SessionCommunications::V1::ProgressingIndicationPtr progressing(new AsteriskSCF::SessionCommunications::V1::ProgressingIndication());
-        progressing->response = response;
-        mPublisher->indicated(mSession, progressing);
+	AsteriskSCF::SessionCommunications::V1::ProgressingIndicationPtr indication(new AsteriskSCF::SessionCommunications::V1::ProgressingIndication());
+        indication->response = response;
+        mPublisher->indicated(mSession, indication);
     }
 
     void ringing()
@@ -100,9 +100,9 @@ public:
 
     void stopped(const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response)
     {
-	AsteriskSCF::SessionCommunications::V1::StoppedIndicationPtr stopped(new AsteriskSCF::SessionCommunications::V1::StoppedIndication());
-	stopped->response = response;
-	mPublisher->indicated(mSession, stopped);
+	AsteriskSCF::SessionCommunications::V1::StoppedIndicationPtr indication(new AsteriskSCF::SessionCommunications::V1::StoppedIndication());
+	indication->response = response;
+	mPublisher->indicated(mSession, indication);
     }
 
     void unheld()

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


-- 
asterisk-scf/release/test_channel.git



More information about the asterisk-scf-commits mailing list