From f0e2c87161db9aea615bb0d86da54fd0220a1523 Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 6 May 2021 16:27:19 +0300 Subject: [PATCH] Fix copy-paste issue: compare iterators of a different maps causes exception under Windows in debug mode. --- src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx index e69a269..9b85b3b 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx @@ -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; -- 2.39.2