Commit 99bebaba authored by Max Kellermann's avatar Max Kellermann

db/upnp/Directory: make "m_dir" private

parent 0ed48b36
...@@ -86,6 +86,8 @@ titleToPathElt(std::string &&s) ...@@ -86,6 +86,8 @@ titleToPathElt(std::string &&s)
* An XML parser which builds directory contents from DIDL lite input. * An XML parser which builds directory contents from DIDL lite input.
*/ */
class UPnPDirParser final : public CommonExpatParser { class UPnPDirParser final : public CommonExpatParser {
UPnPDirContent &m_dir;
std::vector<std::string> m_path; std::vector<std::string> m_path;
UPnPDirObject m_tobj; UPnPDirObject m_tobj;
TagBuilder tag; TagBuilder tag;
...@@ -95,7 +97,6 @@ public: ...@@ -95,7 +97,6 @@ public:
:m_dir(dir) :m_dir(dir)
{ {
} }
UPnPDirContent& m_dir;
protected: protected:
virtual void StartElement(const XML_Char *name, const XML_Char **attrs) virtual void StartElement(const XML_Char *name, const XML_Char **attrs)
......
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