From 5691b5498caad2d23f3b9b4cc9aa2bd45ed9d48a Mon Sep 17 00:00:00 2001 From: Ingo Weyrich Date: Sun, 8 Mar 2020 22:08:49 +0100 Subject: [PATCH] camconst.cc : one more auto --- rtengine/camconst.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/camconst.cc b/rtengine/camconst.cc index fe55ecd11..1e303ba73 100644 --- a/rtengine/camconst.cc +++ b/rtengine/camconst.cc @@ -540,7 +540,7 @@ bool CameraConst::get_Levels(camera_const_levels & lvl, int bw, int iso, float f float scaling = 1.f; if (scaleIt == mApertureScaling.end()) { - for (std::map::const_reverse_iterator entry = mApertureScaling.rbegin(); entry != mApertureScaling.rend(); ++entry) { + for (auto entry = mApertureScaling.crbegin(); entry != mApertureScaling.crend(); ++entry) { if (entry->first > fnumber) { scaling = entry->second; } else {