diff --git a/rtengine/ipdehaze.cc b/rtengine/ipdehaze.cc index cb860cfb9..5ccec4a1e 100644 --- a/rtengine/ipdehaze.cc +++ b/rtengine/ipdehaze.cc @@ -210,7 +210,7 @@ float estimate_ambient_light(const array2D &R, const array2D &G, c } } - if (p.size() == 0) { + if (p.empty()) { return 0.f; }