aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/upnp')
-rw-r--r--src/db/upnp/Directory.cxx3
1 files changed, 2 insertions, 1 deletions
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<std::string> 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)