Styles: derive enum from `unsigned`
authorMax Kellermann <max@musicpd.org>
Wed, 12 Sep 2018 15:46:17 +0000 (17:46 +0200)
committerMax Kellermann <max@musicpd.org>
Wed, 12 Sep 2018 15:46:17 +0000 (17:46 +0200)
Allows forward declarations.

src/Styles.hxx

index 6713cc9..6ad06ab 100644 (file)
@@ -23,7 +23,7 @@
 #include "config.h"
 #include "ncmpc_curses.h"
 
-enum class Style {
+enum class Style : unsigned {
        TITLE = 1,
        TITLE_BOLD,
        LINE,