diff options
Diffstat (limited to 'src/db/upnp')
-rw-r--r-- | src/db/upnp/Util.cxx | 4 | ||||
-rw-r--r-- | src/db/upnp/Util.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/db/upnp/Util.cxx b/src/db/upnp/Util.cxx index fc9ef6281..383e23074 100644 --- a/src/db/upnp/Util.cxx +++ b/src/db/upnp/Util.cxx @@ -88,11 +88,11 @@ path_getfather(const std::string &s) return father; } -std::vector<std::string> +std::list<std::string> stringToTokens(const std::string &str, const char *delims, bool skipinit) { - std::vector<std::string> tokens; + std::list<std::string> tokens; std::string::size_type startPos = 0; diff --git a/src/db/upnp/Util.hxx b/src/db/upnp/Util.hxx index ba5633331..5812c5d9f 100644 --- a/src/db/upnp/Util.hxx +++ b/src/db/upnp/Util.hxx @@ -23,7 +23,7 @@ #include "Compiler.h" #include <string> -#include <vector> +#include <list> std::string caturl(const std::string& s1, const std::string& s2); @@ -36,7 +36,7 @@ std::string path_getfather(const std::string &s); gcc_pure -std::vector<std::string> +std::list<std::string> stringToTokens(const std::string &str, const char *delims = "/", bool skipinit = true); |