Use C++11 enum class
This commit is contained in:
@@ -43,9 +43,9 @@ class PlaylistParser : public QObject {
|
||||
public:
|
||||
explicit PlaylistParser(CollectionBackendInterface *collection = nullptr, QObject *parent = nullptr);
|
||||
|
||||
enum Type {
|
||||
Type_Load,
|
||||
Type_Save,
|
||||
enum class Type {
|
||||
Load,
|
||||
Save
|
||||
};
|
||||
|
||||
static const int kMagicSize;
|
||||
|
||||
Reference in New Issue
Block a user