From: ana Date: Wed, 17 Oct 2012 07:26:21 +0000 (+0000) Subject: win32 compatibility X-Git-Tag: V6_6_0a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=691064a106b7ad071040d3c85b9c4f4f6a6f89ab;p=modules%2Fkernel.git win32 compatibility --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeStudyProperties.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeStudyProperties.cxx index 16ba9c285..b48581b99 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeStudyProperties.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeStudyProperties.cxx @@ -382,7 +382,8 @@ std::string SALOMEDSImpl_AttributeStudyProperties::GetComponentVersion(const std std::vector SALOMEDSImpl_AttributeStudyProperties::GetComponentVersions(const std::string& theComponent) const { versionList versions; - if ( myComponentVersions.find(theComponent) != myComponentVersions.end() ) versions = myComponentVersions.at(theComponent); + versionMap::const_iterator it = myComponentVersions.find(theComponent); + if ( it != myComponentVersions.end() ) versions = it->second; return versions; }