aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-22 08:44:20 +0100
committerMax Kellermann <max@duempel.org>2014-01-22 08:44:20 +0100
commit99bebabac97b24e94cad026422e663e97492894b (patch)
tree62fbf4bf8f0e5c284aa0d6eb3b4b3e53aa2da7bf /src/db/upnp
parent0ed48b364abe5a9dabb762b4a5afcbc556114663 (diff)
downloadmpd-99bebabac97b24e94cad026422e663e97492894b.tar.gz
mpd-99bebabac97b24e94cad026422e663e97492894b.tar.xz
mpd-99bebabac97b24e94cad026422e663e97492894b.zip
db/upnp/Directory: make "m_dir" private
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)