Commit 5006a32e authored by arnaud.charnoz@gmail.com's avatar arnaud.charnoz@gmail.com
Browse files

Merge from new tag fw4spl_0.7.9.6

--HG--
branch : fw4spl_0.8.2
parents 4e28932d ef776688
......@@ -11,7 +11,6 @@
#include <fwRuntime/Runtime.hpp>
#include <fwRuntime/helper.hpp>
#include <fwData/Composite.hpp>
#include <fwData/String.hpp>
#include <fwData/Composite.hpp>
......@@ -178,9 +177,11 @@ std::vector< std::string > AppConfig::getConfigsFromGroup(const std::string & gr
AppConfig::FieldAdaptorType AppConfig::compositeToFieldAdaptor( ::fwData::Composite::csptr fieldAdaptors ) const
{
FieldAdaptorType fields;
BOOST_FOREACH(const ::fwData::Composite::value_type &elem, *fieldAdaptors )
::fwData::Composite::const_iterator iter;
for(iter = fieldAdaptors->begin(); iter != fieldAdaptors->end(); ++iter)
{
fields[elem.first] = ::fwData::String::dynamicCast( elem.second )->value();
fields[(*iter).first] = ::fwData::String::dynamicCast( (*iter).second )->value();
}
return fields;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment