[asterisk-scf-commits] asterisk-scf/integration/routing.git branch "route_replica" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Apr 20 19:58:24 CDT 2011


branch "route_replica" has been updated
       via  633bee49be17bde2601421db442dcc95ab141fdb (commit)
      from  894e46583a25a1721cfe820cf7ad0b98e0196bde (commit)

Summary of changes:
 src/BasicRoutingServiceApp.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 633bee49be17bde2601421db442dcc95ab141fdb
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Wed Apr 20 19:57:13 2011 -0500

    Cleaned up init of one more app member variable.

diff --git a/src/BasicRoutingServiceApp.cpp b/src/BasicRoutingServiceApp.cpp
index 6a4f69d..f2a762f 100644
--- a/src/BasicRoutingServiceApp.cpp
+++ b/src/BasicRoutingServiceApp.cpp
@@ -486,8 +486,7 @@ void BasicRoutingServiceApp::initialize()
         bool isActive = !(mCommunicator->getProperties()->getPropertyWithDefault(mAppName + ".Standby", "no") == "yes");
 
         // Create the replication context.
-        ReplicationContextPtr replicationContext(new ReplicationContext(isActive));
-        mReplicationContext = replicationContext;
+        mReplicationContext = ReplicationContextPtr(new ReplicationContext(isActive));
 
         mEventPublisher = new RoutingServiceEventPublisher(mAdapter);
 

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


-- 
asterisk-scf/integration/routing.git



More information about the asterisk-scf-commits mailing list