From 5437b375dbd7293a96870421500f9f0d5357d47d Mon Sep 17 00:00:00 2001 From: even1024 Date: Mon, 13 Jan 2025 23:32:40 +0100 Subject: [PATCH] step 3 --- core/indigo-core/reaction/src/reaction_multistep_detector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/indigo-core/reaction/src/reaction_multistep_detector.cpp b/core/indigo-core/reaction/src/reaction_multistep_detector.cpp index b616f30a5b..0c1fe93f85 100644 --- a/core/indigo-core/reaction/src/reaction_multistep_detector.cpp +++ b/core/indigo-core/reaction/src/reaction_multistep_detector.cpp @@ -490,7 +490,7 @@ std::optional> ReactionMultistepDetector::findMaxSpecialZone } if (cont > 0.0f) { - auto& zone_it = zones.find(i); + auto zone_it = zones.find(i); if (zone_it != zones.end()) zone_it->second.insert(j); else