aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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) {