From 99bebabac97b24e94cad026422e663e97492894b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jan 2014 08:44:20 +0100 Subject: db/upnp/Directory: make "m_dir" private --- src/db/upnp/Directory.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/db/upnp') diff --git a/src/db/upnp/Directory.cxx b/src/db/upnp/Directory.cxx index 2fa69e4bb..ada50d052 100644 --- a/src/db/upnp/Directory.cxx +++ b/src/db/upnp/Directory.cxx @@ -86,6 +86,8 @@ titleToPathElt(std::string &&s) * An XML parser which builds directory contents from DIDL lite input. */ class UPnPDirParser final : public CommonExpatParser { + UPnPDirContent &m_dir; + std::vector m_path; UPnPDirObject m_tobj; TagBuilder tag; @@ -95,7 +97,6 @@ public: :m_dir(dir) { } - UPnPDirContent& m_dir; protected: virtual void StartElement(const XML_Char *name, const XML_Char **attrs) -- cgit v1.2.3