aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/UpnpDatabasePlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-14 13:37:05 +0100
committerMax Kellermann <max@duempel.org>2014-01-14 13:37:05 +0100
commitdafd0bc49a1a2d6d60b6c3f6231e153b14bf85a1 (patch)
treeca3ac47eac08323dc102dfd34c7761122b2428bf /src/db/UpnpDatabasePlugin.cxx
parent2cb912e4f4622e87f9ab319e2f2fd7bfb1e71499 (diff)
downloadmpd-dafd0bc49a1a2d6d60b6c3f6231e153b14bf85a1.tar.gz
mpd-dafd0bc49a1a2d6d60b6c3f6231e153b14bf85a1.tar.xz
mpd-dafd0bc49a1a2d6d60b6c3f6231e153b14bf85a1.zip
db/upnp: pass const reference to getTagValue()
Diffstat (limited to '')
-rw-r--r--src/db/UpnpDatabasePlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/UpnpDatabasePlugin.cxx b/src/db/UpnpDatabasePlugin.cxx
index 8a99e9cd6..ce734c882 100644
--- a/src/db/UpnpDatabasePlugin.cxx
+++ b/src/db/UpnpDatabasePlugin.cxx
@@ -281,7 +281,7 @@ UpnpDatabase::GetSong(const char *uri, Error &error) const
* Retrieve the value for an MPD tag from an object entry.
*/
static bool
-getTagValue(UPnPDirObject& dirent, TagType tag,
+getTagValue(const UPnPDirObject &dirent, TagType tag,
std::string &tagvalue)
{
if (tag == TAG_TITLE) {