[asterisk-scf-commits] asterisk-scf/release/servicediscovery.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Mon Feb 21 09:36:08 CST 2011
branch "master" has been updated
via b9e4e5d98418a006dd18cfe54935607a4a80a7a1 (commit)
from 65b0f411ca344b05dfe75b4c36b30b41fd134b21 (commit)
Summary of changes:
src/ServiceLocatorManagement.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit b9e4e5d98418a006dd18cfe54935607a4a80a7a1
Author: David M. Lee <dlee at digium.com>
Date: Mon Feb 21 09:36:03 2011 -0600
Fixed for new ClassMemberDefault slice translator plugin.
diff --git a/src/ServiceLocatorManagement.cpp b/src/ServiceLocatorManagement.cpp
index 5bc0c74..79fc22e 100644
--- a/src/ServiceLocatorManagement.cpp
+++ b/src/ServiceLocatorManagement.cpp
@@ -317,7 +317,7 @@ ServiceInfoSeq ServiceLocatorManagementImpl::getServices(const ::Ice::Current&)
i != mImpl->mServices.end();
++i)
{
- ServiceInfo v = {(*i)->getGuid(), (*i)->getServiceManagementPrx(), (*i)->getStatus(), (*i)->getService()};
+ ServiceInfo v((*i)->getGuid(), (*i)->getServiceManagementPrx(), (*i)->getStatus(), (*i)->getService());
r.push_back(v);
}
return r;
@@ -331,7 +331,7 @@ ServiceInfo ServiceLocatorManagementImpl::getService(const std::string &guid, co
++i)
{
if (guid == (*i)->getGuid()) {
- ServiceInfo r = {(*i)->getGuid(), (*i)->getServiceManagementPrx(), (*i)->getStatus(), (*i)->getService()};
+ ServiceInfo r((*i)->getGuid(), (*i)->getServiceManagementPrx(), (*i)->getStatus(), (*i)->getService());
return r;
}
}
-----------------------------------------------------------------------
--
asterisk-scf/release/servicediscovery.git
More information about the asterisk-scf-commits
mailing list