camconst.cc : one more auto

This commit is contained in:
Ingo Weyrich
2020-03-08 22:08:49 +01:00
parent 4ef0b75354
commit 5691b5498c

View File

@@ -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<float, float>::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 {