db/upnp: pass const reference to getTagValue()

This commit is contained in:
Max Kellermann 2014-01-14 13:37:05 +01:00
parent 2cb912e4f4
commit dafd0bc49a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {