From 38a35830773aa839c47fc9d21038c676ba232d14 Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Wed, 20 Dec 2017 22:57:57 +0100 Subject: [PATCH] StagedImageProcessor add explicit overload void endUpdateParams(ProcEventCode) to do proper function overload resolution Fixes #4239 --- rtengine/rtengine.h | 1 + 1 file changed, 1 insertion(+) diff --git a/rtengine/rtengine.h b/rtengine/rtengine.h index edf903352..d8e527157 100644 --- a/rtengine/rtengine.h +++ b/rtengine/rtengine.h @@ -413,6 +413,7 @@ public: * The image update starts immediately in the background. If it is ready, the result is passed to a PreviewImageListener * and to a DetailedCropListener (if enabled). */ virtual void endUpdateParams (ProcEvent change) = 0; + void endUpdateParams(ProcEventCode change) { endUpdateParams(ProcEvent(change)); } virtual void endUpdateParams (int changeFlags) = 0; // Starts a minimal update virtual void startProcessing (int changeCode) = 0;