[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 Jan 9 14:16:14 CST 2012


branch "master" has been updated
       via  c1096206e872e497212594a0978e60e085c2bd10 (commit)
      from  d9ab0dfb914985f157385625343ea3ce59e56d28 (commit)

Summary of changes:
 test/TestBridging.cpp |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit c1096206e872e497212594a0978e60e085c2bd10
Author: Brent Eagles <beagles at digium.com>
Date:   Mon Jan 9 16:45:26 2012 -0330

    Fix build issue for compilers that do not support initializer syntax for
    structs.

diff --git a/test/TestBridging.cpp b/test/TestBridging.cpp
index f2110ab..75d3f23 100644
--- a/test/TestBridging.cpp
+++ b/test/TestBridging.cpp
@@ -930,7 +930,10 @@ public:
                 IceUtil::ThreadControl::sleep(IceUtil::Time::seconds(2));
 
                 AsteriskSCF::SessionCommunications::V1::SessionWithSessionInfoSeq sessionInfos;
-                sessionInfos.push_back( { b, b->getInfo() } );
+                AsteriskSCF::SessionCommunications::V1::SessionWithSessionInfo t;
+                t.sessionProxy = b;
+                t.info = b->getInfo();
+                sessionInfos.push_back(t);
 
                 bridge->replaceSession(a, sessionInfos);
                 log.clear();
@@ -1458,7 +1461,10 @@ public:
                 TelephonyEventSinkSeq cSinks = tc->getSinks();
 
                 AsteriskSCF::SessionCommunications::V1::SessionWithSessionInfoSeq sessionInfos;
-                sessionInfos.push_back( { c, c->getInfo() } );
+                AsteriskSCF::SessionCommunications::V1::SessionWithSessionInfo r;
+                r.sessionProxy = c;
+                r.info = c->getInfo();
+                sessionInfos.push_back(r);
 
                 bridge->replaceSession(b, sessionInfos);
 

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


-- 
asterisk-scf/release/bridging.git



More information about the asterisk-scf-commits mailing list