Fix -Wodr in GCC LTO builds

I've tested GCC 10 and 11, which exhibit the problem, and 8, which
doesn't.
This commit is contained in:
Flössie
2021-07-05 13:06:33 +02:00
parent 33ea50e2dd
commit 64382928c1
3 changed files with 13 additions and 3 deletions

View File

@@ -12,6 +12,9 @@
using namespace rtengine;
using namespace rtengine::procparams;
namespace
{
enum GeometryIndex {
H_LINE,
V_LINE,
@@ -20,6 +23,8 @@ enum GeometryIndex {
CENTER_CIRCLE,
};
}
Gradient::Gradient () : FoldableToolPanel(this, "gradient", M("TP_GRADIENT_LABEL"), false, true), EditSubscriber(ET_OBJECTS), lastObject(-1), draggedPointOldAngle(-1000.)
{