Files
ResInsight/ApplicationLibCode/ProjectDataModel/WellEvents
Magne Sjaastad d345599f2f #14912: Define well event State AppEnum setUp next to the shared enum
RimWellEventPerf::State and RimWellEventValve::State are aliases for
RimWellEventEnums::State, but the AppEnum setUp() specialization was
declared in both class headers and defined in RimWellEventPerf.cpp.
The Linux unity build failed to link with an undefined reference to
caf::AppEnum<RimWellEventEnums::State>::setUp().

Declare the specialization in RimWellEventEnums.h and define it in the
new RimWellEventEnums.cpp, so all users see a single declaration and
there is a single definition.
2026-10-27 10:05:02 +01:00
..