Commit 98a7d8da authored by Max Kellermann's avatar Max Kellermann

playlist/xspf: use C++11 initializer

parent acb29f79
...@@ -45,7 +45,7 @@ struct XspfParser { ...@@ -45,7 +45,7 @@ struct XspfParser {
enum { enum {
ROOT, PLAYLIST, TRACKLIST, TRACK, ROOT, PLAYLIST, TRACKLIST, TRACK,
LOCATION, LOCATION,
} state; } state = ROOT;
/** /**
* The current tag within the "track" element. This is only * The current tag within the "track" element. This is only
...@@ -60,9 +60,6 @@ struct XspfParser { ...@@ -60,9 +60,6 @@ struct XspfParser {
std::string location; std::string location;
TagBuilder tag_builder; TagBuilder tag_builder;
XspfParser()
:state(ROOT) {}
}; };
static void XMLCALL static void XMLCALL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment