From dafd0bc49a1a2d6d60b6c3f6231e153b14bf85a1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 14 Jan 2014 13:37:05 +0100 Subject: [PATCH] db/upnp: pass const reference to getTagValue() --- src/db/UpnpDatabasePlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {