[asterisk-scf-commits] asterisk-scf/release/bridging.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Mon Aug 8 11:15:06 CDT 2011
branch "master" has been updated
via 2efb1327f9209a1ef68f1b6d59e359f120a1c853 (commit)
from 6c2a0e39849907661e31c5a28fc29bf6bce67d98 (commit)
Summary of changes:
src/Component.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 2efb1327f9209a1ef68f1b6d59e359f120a1c853
Author: Ken Hunt <ken.hunt at digium.com>
Date: Mon Aug 8 11:13:47 2011 -0500
Correct build problem for recent integration of base component.
static_pointer_cast wasn't found in boost namespace without boost:: qualifier.
diff --git a/src/Component.cpp b/src/Component.cpp
index cbde65c..dbe7194 100644
--- a/src/Component.cpp
+++ b/src/Component.cpp
@@ -181,7 +181,7 @@ void Component::listenToStateReplicators()
{
boost::unique_lock<boost::shared_mutex> lock(mReplicatorLock);
BridgeReplicationContextPtr bridgeReplicationContext =
- static_pointer_cast<BridgeReplicationContext>(getReplicationContext());
+ boost::static_pointer_cast<BridgeReplicationContext>(getReplicationContext());
if (mListeningToReplicator == true)
{
@@ -214,7 +214,7 @@ void Component::stopListeningToStateReplicators()
{
boost::unique_lock<boost::shared_mutex> lock(mReplicatorLock);
BridgeReplicationContextPtr bridgeReplicationContext =
- static_pointer_cast<BridgeReplicationContext>(getReplicationContext());
+ boost::static_pointer_cast<BridgeReplicationContext>(getReplicationContext());
if ((!bridgeReplicationContext->getReplicator().isInitialized()) || (mListeningToReplicator == false))
{
-----------------------------------------------------------------------
--
asterisk-scf/release/bridging.git
More information about the asterisk-scf-commits
mailing list