diff options
Diffstat (limited to 'src/db/upnp/Directory.cxx')
-rw-r--r-- | src/db/upnp/Directory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/upnp/Directory.cxx b/src/db/upnp/Directory.cxx index 00ce68816..b9c92dabd 100644 --- a/src/db/upnp/Directory.cxx +++ b/src/db/upnp/Directory.cxx @@ -186,8 +186,8 @@ protected: }; bool -UPnPDirContent::parse(const std::string &input, Error &error) +UPnPDirContent::parse(const char *input, Error &error) { UPnPDirParser parser(*this); - return parser.Parse(input.data(), input.length(), true, error); + return parser.Parse(input, strlen(input), true, error); } |