Skip to content
  • Fabian Vogt's avatar
    Fix multiple top-level definitions of enum Roles breaking ODR · abd6475b
    Fabian Vogt authored
    src/multidayincidencemodel.cpp:11:6: warning: type 'Roles' violates the C++ One Definition Rule [-Wodr]
    src/hourlyincidencemodel.cpp:8:6: note: an enum with different value name is defined in another translation unit
    
    Just move the enums into class scope in the header files.
    abd6475b