[asterisk-scf-commits] asterisk-scf/release/routing.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Mon Aug 8 11:14:30 CDT 2011
branch "master" has been updated
via d385c84a1e71127cf0df930af45e244a6930a5e3 (commit)
from be71dc1506fc7d694c9e97d3aae20ac3e070bd8e (commit)
Summary of changes:
src/Component.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit d385c84a1e71127cf0df930af45e244a6930a5e3
Author: Ken Hunt <ken.hunt at digium.com>
Date: Mon Aug 8 11:12:25 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 4272c34..7d5f03d 100644
--- a/src/Component.cpp
+++ b/src/Component.cpp
@@ -133,7 +133,7 @@ void Component::listenToStateReplicators()
{
boost::unique_lock<boost::shared_mutex> lock(mReplicatorLock);
RoutingReplicationContextPtr routingReplicationContext =
- static_pointer_cast<RoutingReplicationContext>(getReplicationContext());
+ boost::static_pointer_cast<RoutingReplicationContext>(getReplicationContext());
if (mListeningToReplicator == true)
{
@@ -171,7 +171,7 @@ void Component::stopListeningToStateReplicators()
{
boost::unique_lock<boost::shared_mutex> lock(mReplicatorLock);
RoutingReplicationContextPtr routingReplicationContext =
- static_pointer_cast<RoutingReplicationContext>(getReplicationContext());
+ boost::static_pointer_cast<RoutingReplicationContext>(getReplicationContext());
if ((!routingReplicationContext->getReplicator().isInitialized()) || (mListeningToReplicator == false))
{
@@ -266,7 +266,7 @@ void Component::locateStateReplicator()
try
{
RoutingReplicationContextPtr routingReplicationContext =
- static_pointer_cast<RoutingReplicationContext>(getReplicationContext());
+ boost::static_pointer_cast<RoutingReplicationContext>(getReplicationContext());
ReplicatorSmartPrx replicator(getServiceLocator(), replicatorParams, lg);
routingReplicationContext->setReplicator(replicator);
@@ -293,7 +293,7 @@ void Component::createPrimaryServices()
{
// Get the replication context specific to routing.
RoutingReplicationContextPtr routingReplicationContext =
- static_pointer_cast<RoutingReplicationContext>(getReplicationContext());
+ boost::static_pointer_cast<RoutingReplicationContext>(getReplicationContext());
// Create a helper class for publishing events.
mEventPublisher = new RoutingServiceEventPublisher(getServiceAdapter());
-----------------------------------------------------------------------
--
asterisk-scf/release/routing.git
More information about the asterisk-scf-commits
mailing list