diff options
author | Max Kellermann <max@duempel.org> | 2014-01-14 13:37:05 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-14 13:37:05 +0100 |
commit | dafd0bc49a1a2d6d60b6c3f6231e153b14bf85a1 (patch) | |
tree | ca3ac47eac08323dc102dfd34c7761122b2428bf /src | |
parent | 2cb912e4f4622e87f9ab319e2f2fd7bfb1e71499 (diff) | |
download | mpd-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.cxx | 2 |
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) { |