[asterisk-scf-commits] team/ken.hunt/route_async_routing.git branch "route_async" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Dec 23 00:22:55 UTC 2010


branch "route_async" has been updated
       via  50f6599c715906127223392848e4257fcbc90988 (commit)
      from  a0aae3bb0aac7731d1616b0146fc8d1196381c90 (commit)

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


- Log -----------------------------------------------------------------
commit 50f6599c715906127223392848e4257fcbc90988
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Wed Dec 22 18:22:24 2010 -0600

    Changes to make gcc happy.

diff --git a/src/SessionRouter.cpp b/src/SessionRouter.cpp
index 18ba7e7..8a798ea 100644
--- a/src/SessionRouter.cpp
+++ b/src/SessionRouter.cpp
@@ -432,6 +432,9 @@ protected:
     OperationsManager() {}  // Can't construct directly. This class is an interface. 
 };
 
+// Forward-declaration
+template <typename T> class LookupCallback;
+
 /**
  * This is a base class for worker objects that offload SessionRouter operations 
  * to a worker thead during an AMD invocation. It implements the WorkQueue::Work
@@ -658,9 +661,10 @@ protected: // These protected operations are utiltity functions.
      */
     SessionSeq getSessionsInBridge(const BridgePrx& bridge)
     {
+        SessionSeq allSessions;
         try
         {
-            SessionSeq allSessions = bridge->listSessions();
+            allSessions = bridge->listSessions();
         }
         catch(const Ice::Exception &e)
         {

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


-- 
team/ken.hunt/route_async_routing.git



More information about the asterisk-scf-commits mailing list