From dd549c2bb9c4a872d2457d322ba8f032fc09a10f Mon Sep 17 00:00:00 2001 From: Ingo Weyrich Date: Sun, 19 Sep 2021 12:27:07 +0200 Subject: [PATCH] better fix for #6364 --- rtengine/ipdehaze.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }