From 691064a106b7ad071040d3c85b9c4f4f6a6f89ab Mon Sep 17 00:00:00 2001 From: ana Date: Wed, 17 Oct 2012 07:26:21 +0000 Subject: [PATCH] win32 compatibility --- src/SALOMEDSImpl/SALOMEDSImpl_AttributeStudyProperties.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.2