db/upnp/Directory: make "m_dir" private

This commit is contained in:
Max Kellermann 2014-01-22 08:44:20 +01:00
parent 0ed48b364a
commit 99bebabac9

View File

@ -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:
: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)