From 9747cc9e587a9987a7bdeee0ccf9b3b56f3c803e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jan 2014 09:47:32 +0100 Subject: db/upnp/Device: replace std::vector with a std::string pointer --- src/db/upnp/Util.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/db/upnp/Util.hxx') diff --git a/src/db/upnp/Util.hxx b/src/db/upnp/Util.hxx index 5812c5d9f..005dd3360 100644 --- a/src/db/upnp/Util.hxx +++ b/src/db/upnp/Util.hxx @@ -28,9 +28,8 @@ std::string caturl(const std::string& s1, const std::string& s2); -gcc_pure -std::string -trimstring(const char *p, size_t length); +void +trimstring(std::string &s, const char *ws = " \t\n"); std::string path_getfather(const std::string &s); -- cgit v1.2.3