From 044d16503c55f3b310307c324960efa207122225 Mon Sep 17 00:00:00 2001 From: Lawrence Lee Date: Fri, 16 Oct 2020 17:15:03 -0700 Subject: [PATCH] Fix undefined reference compilation error The debug build failed to compile due to undefined reference to HistogramArea::MAX_BRIGHT and HistogramArea::MIN_BRIGHT. Co-authored-by: Ingo Weyrich --- rtgui/histogrampanel.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtgui/histogrampanel.cc b/rtgui/histogrampanel.cc index bbad4ecf3..d7e9bbc69 100644 --- a/rtgui/histogrampanel.cc +++ b/rtgui/histogrampanel.cc @@ -29,6 +29,9 @@ using namespace rtengine; +constexpr float HistogramArea::MAX_BRIGHT; +constexpr float HistogramArea::MIN_BRIGHT; + using ScopeType = Options::ScopeType; //