aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Util.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-21 22:46:47 +0100
committerMax Kellermann <max@duempel.org>2014-01-21 23:33:28 +0100
commit54348561362f23b709c04d3e5deac9694698d784 (patch)
treeafcbd4eb71a48b5fd129d9f704794ed8445169ed /src/db/upnp/Util.hxx
parentaa1eb2f40dc7fdef6490634ab82c6f0f82ccfd79 (diff)
downloadmpd-54348561362f23b709c04d3e5deac9694698d784.tar.gz
mpd-54348561362f23b709c04d3e5deac9694698d784.tar.xz
mpd-54348561362f23b709c04d3e5deac9694698d784.zip
db/upnp: use std::list instead of std::vector
Reduce overhead.
Diffstat (limited to 'src/db/upnp/Util.hxx')
-rw-r--r--src/db/upnp/Util.hxx4
1 files changed, 2 insertions, 2 deletions
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);