Commit dafd0bc4 authored by Max Kellermann's avatar Max Kellermann

db/upnp: pass const reference to getTagValue()

parent 2cb912e4
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment