[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
Mon Aug 8 11:13:08 CDT 2011
branch "master" has been updated
via 8067347207ab8b70244c586ffc07ab0559122399 (commit)
from 766aabb6ca4f52ba1d964930b1380e89577655d5 (commit)
Summary of changes:
src/Component.cpp | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 8067347207ab8b70244c586ffc07ab0559122399
Author: Ken Hunt <ken.hunt at digium.com>
Date: Mon Aug 8 11:09:00 2011 -0500
Correct build problem for recent integration of base component.
static_pointer_cast wasn't found in boost namespace without qualifier.
diff --git a/src/Component.cpp b/src/Component.cpp
index 7c42cbc..dea42f9 100644
--- a/src/Component.cpp
+++ b/src/Component.cpp
@@ -277,7 +277,7 @@ void Component::locateStateReplicator()
{
AsteriskSCF::Discovery::SmartProxy<SipStateReplicatorPrx> pw(getServiceLocator(), replicatorParams, lg);
SipReplicationContextPtr sipReplicationContext =
- static_pointer_cast<SipReplicationContext>(getReplicationContext());
+ boost::static_pointer_cast<SipReplicationContext>(getReplicationContext());
sipReplicationContext->setReplicator(pw);
@@ -296,7 +296,7 @@ void Component::locateStateReplicator()
void Component::listenToStateReplicators()
{
SipReplicationContextPtr sipReplicationContext =
- static_pointer_cast<SipReplicationContext>(getReplicationContext());
+ boost::static_pointer_cast<SipReplicationContext>(getReplicationContext());
if (mListeningToReplicator == true)
{
@@ -333,7 +333,7 @@ void Component::listenToStateReplicators()
void Component::stopListeningToStateReplicators()
{
SipReplicationContextPtr sipReplicationContext =
- static_pointer_cast<SipReplicationContext>(getReplicationContext());
+ boost::static_pointer_cast<SipReplicationContext>(getReplicationContext());
if ((!sipReplicationContext->getReplicator().isInitialized()) || (mListeningToReplicator == false))
{
@@ -369,7 +369,7 @@ void Component::locateSessionRouter()
void Component::registerPJSipModules()
{
SipReplicationContextPtr sipReplicationContext =
- static_pointer_cast<SipReplicationContext>(getReplicationContext());
+ boost::static_pointer_cast<SipReplicationContext>(getReplicationContext());
Ice::PropertiesPtr props = getCommunicator()->getProperties();
Ice::StringSeq moduleNames = props->getPropertyAsList("Sip.Modules");
@@ -519,7 +519,7 @@ void Component::createPrimaryServices()
try
{
SipReplicationContextPtr sipReplicationContext =
- static_pointer_cast<SipReplicationContext>(getReplicationContext());
+ boost::static_pointer_cast<SipReplicationContext>(getReplicationContext());
mEventPublisher.reset(new SipSessionManagerEventPublisher(getServiceAdapter()));
lg(Debug) << "Created SIP Session Manager event publisher";
-----------------------------------------------------------------------
--
asterisk-scf/release/sip.git
More information about the asterisk-scf-commits
mailing list