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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Aug 9 10:59:42 CDT 2011


branch "master" has been updated
       via  8676ab8ee29c419eb601e2fdcf7dd3b22687f058 (commit)
      from  ba68890ab24ec2f71cac3236b1cbacb40ee400da (commit)

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


- Log -----------------------------------------------------------------
commit 8676ab8ee29c419eb601e2fdcf7dd3b22687f058
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Tue Aug 9 10:57:36 2011 -0500

    Added scope qualifier to static_pointer_cast. Not caught by Visual Studio.

diff --git a/src/Component.cpp b/src/Component.cpp
index efee798..217e4be 100644
--- a/src/Component.cpp
+++ b/src/Component.cpp
@@ -363,7 +363,7 @@ void Component::createPrimaryServices()
     try
     {
         RtpReplicationContextPtr rtpReplicationContext = 
-            static_pointer_cast<RtpReplicationContext>(getReplicationContext());
+            boost::static_pointer_cast<RtpReplicationContext>(getReplicationContext());
 
         mConfigurationService = ConfigurationServiceImpl::create();
         mConfigurationServicePrx = mConfigurationService->activate(getBackplaneAdapter(), IceUtil::generateUUID());
@@ -450,7 +450,7 @@ void Component::findRemoteServices()
     try
     {
         RtpReplicationContextPtr rtpReplicationContext = 
-            static_pointer_cast<RtpReplicationContext>(getReplicationContext());
+            boost::static_pointer_cast<RtpReplicationContext>(getReplicationContext());
 
         AsteriskSCF::Discovery::SmartProxy<RtpStateReplicatorPrx> pw(getServiceLocator(), replicatorParams, lg);
         rtpReplicationContext->setReplicator(pw);
@@ -473,7 +473,7 @@ void Component::createReplicationStateListeners()
     try
     {
         RtpReplicationContextPtr rtpReplicationContext = 
-            static_pointer_cast<RtpReplicationContext>(getReplicationContext());
+            boost::static_pointer_cast<RtpReplicationContext>(getReplicationContext());
 
        // Create and publish our state replicator listener interface.
         mReplicatorListener = new RtpStateReplicatorListenerI(getServiceAdapter(), mRtpMediaServicePtr->getEnvironment(),
@@ -494,7 +494,7 @@ void Component::createReplicationStateListeners()
 void Component::listenToStateReplicators()
 {
     RtpReplicationContextPtr rtpReplicationContext = 
-        static_pointer_cast<RtpReplicationContext>(getReplicationContext());
+        boost::static_pointer_cast<RtpReplicationContext>(getReplicationContext());
 
     if (mListeningToReplicator == true)
     {
@@ -531,7 +531,7 @@ void Component::listenToStateReplicators()
 void Component::stopListeningToStateReplicators()
 {
     RtpReplicationContextPtr rtpReplicationContext = 
-        static_pointer_cast<RtpReplicationContext>(getReplicationContext());
+        boost::static_pointer_cast<RtpReplicationContext>(getReplicationContext());
 
     if ((!rtpReplicationContext->getReplicator().isInitialized()) || (mListeningToReplicator == false))
     {
@@ -590,7 +590,7 @@ void Component::onStart()
     if (getReplicationContext()->isReplicating() == true)
     {
         RtpReplicationContextPtr rtpReplicationContext = 
-            static_pointer_cast<RtpReplicationContext>(getReplicationContext());
+            boost::static_pointer_cast<RtpReplicationContext>(getReplicationContext());
 
         RtpStateItemSeq items;
         items.push_back(mGeneralState);

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


-- 
asterisk-scf/release/media_rtp_pjmedia.git



More information about the asterisk-scf-commits mailing list