]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Fix copy-paste issue: compare iterators of a different maps causes exception under... V9_7_BR V9_7_0 V9_7_0rc1 V9_7_0rc2
authorrnv <rnv@opencascade.com>
Thu, 6 May 2021 13:27:19 +0000 (16:27 +0300)
committerrnv <rnv@opencascade.com>
Thu, 6 May 2021 13:27:19 +0000 (16:27 +0300)
src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx

index e69a2696fd643025180c745b0c5d1000eb5a2ac2..9b85b3b0cf3b4768146fee06e771017b211f5e11 100644 (file)
@@ -1216,7 +1216,7 @@ std::string BLSURFPlugin_Hypothesis::GetPreCADOptionValue(const std::string& opt
   if ( val.empty() && isDefault )
   {
     op_val = _defaultOptionValues.find( optionName );
-    if (op_val != _option2value.end())
+    if (op_val != _defaultOptionValues.end())
       val = op_val->second;
   }
   return val;