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

@@ -29,6 +29,9 @@
using namespace rtengine;
using namespace rtengine::procparams;
namespace
{
enum GeometryIndex {
MO_TARGET_DISK,
MO_SOURCE_DISC,
@@ -47,6 +50,8 @@ enum GeometryIndex {
VISIBLE_OBJECT_COUNT
};
}
Spot::Spot() :
FoldableToolPanel(this, "spot", M ("TP_SPOT_LABEL"), true, true),
EditSubscriber(ET_OBJECTS),