]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
win32 compatibility
authorana <ana@opencascade.com>
Wed, 17 Oct 2012 07:26:21 +0000 (07:26 +0000)
committerana <ana@opencascade.com>
Wed, 17 Oct 2012 07:26:21 +0000 (07:26 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_AttributeStudyProperties.cxx

index 16ba9c285af7bc52d5b61621b2e94dccc4eeb515..b48581b993f97aeef630b9e28177db0abcb2ef59 100644 (file)
@@ -382,7 +382,8 @@ std::string SALOMEDSImpl_AttributeStudyProperties::GetComponentVersion(const std
 std::vector<std::string> 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;
 }