Commit ef776688 authored by Nicolas Philipps's avatar Nicolas Philipps
Browse files

Fixed icc compilation

--HG--
branch : fw4spl_0.7.9
parent 7979302e
......@@ -177,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( ::fwData::Composite::value_type elem, fieldAdaptors->getRefMap() )
::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