Skip to content
  • Halla Rempt's avatar
    Fix warning · 721cadbd
    Halla Rempt authored
    /home/boud/dev/krita/libs/image/lazybrush/kis_colorize_mask.cpp:207:1: warning: 'SetKeyStrokesColorSpaceCommand'
          defined as a struct here but previously declared as a class [-Wmismatched-tags]
    struct SetKeyStrokesColorSpaceCommand : public KUndo2Command {
    ^
    /home/boud/dev/krita/libs/image/lazybrush/kis_colorize_mask.h:170:12: note: did you mean struct here?
        friend class SetKeyStrokesColorSpaceCommand;
               ^~~~~
               struct
    /home/boud/dev/krita/libs/image/lazybrush/kis_colorize_mask.cpp:711:1: warning: 'KeyStrokeAddRemoveCommand'
          defined as a struct here but previously declared as a class [-Wmismatched-tags]
    struct KeyStrokeAddRemoveCommand : public KisCommandUtils::FlipFlopCommand {
    ^
    /home/boud/dev/krita/libs/image/lazybrush/kis_colorize_mask.h:171:12: note: did you mean struct here?
        friend class KeyStrokeAddRemoveCommand;
               ^~~~~
               struct
    /home/boud/dev/krita/libs/image/lazybrush/kis_colorize_mask.cpp:892:1: warning: 'SetKeyStrokeColorsCommand'
          defined as a struct here but previously declared as a class [-Wmismatched-tags]
    struct SetKeyStrokeColorsCommand : public KUndo2Command {
    ^
    /home/boud/dev/krita/libs/image/lazybrush/kis_colorize_mask.h:172:12: note: did you mean struct here?
        friend class SetKeyStrokeColorsCommand;
               ^~~~~
               struct
    3 warnings generated
    721cadbd