diff options
Diffstat (limited to 'src/db/upnp/Directory.hxx')
-rw-r--r-- | src/db/upnp/Directory.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/upnp/Directory.hxx b/src/db/upnp/Directory.hxx index 3324b2232..80b52ff2b 100644 --- a/src/db/upnp/Directory.hxx +++ b/src/db/upnp/Directory.hxx @@ -37,8 +37,8 @@ public: std::vector<UPnPDirObject> objects; gcc_pure - const UPnPDirObject *FindObject(const char *name) const { - for (const auto &o : objects) + UPnPDirObject *FindObject(const char *name) { + for (auto &o : objects) if (o.name == name) return &o; |