From 6e55552292d4832bcefeee78346d121caf3715a1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 18 Jan 2014 15:01:19 +0100 Subject: db/upnp/ixmlwrap: getFirstElementValue() returns const char * Eliminate the std::string bloat. --- src/db/upnp/Directory.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/upnp/Directory.hxx') diff --git a/src/db/upnp/Directory.hxx b/src/db/upnp/Directory.hxx index 80b52ff2b..8858c9325 100644 --- a/src/db/upnp/Directory.hxx +++ b/src/db/upnp/Directory.hxx @@ -58,7 +58,7 @@ public: * actually global, nothing really bad will happen if you mix * up... */ - bool parse(const std::string &didltext, Error &error); + bool parse(const char *didltext, Error &error); }; #endif /* _UPNPDIRCONTENT_H_X_INCLUDED_ */ -- cgit v1.2.3