SALOMEDSImpl_GenericVariable* aVariable =
new SALOMEDSImpl_ScalarVariable(aVarType,std::string(aVarName));
aVariable->Load(std::string(currentVarValue));
- aVarsMap.insert(std::make_pair<int,SALOMEDSImpl_GenericVariable*>(order,aVariable));
+ aVarsMap.insert(std::make_pair(order,aVariable));
delete [] currentVarValue;
- }
+ }
}
std::map<int,SALOMEDSImpl_GenericVariable*>::const_iterator it= aVarsMap.begin();