From 54348561362f23b709c04d3e5deac9694698d784 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 21 Jan 2014 22:46:47 +0100 Subject: db/upnp: use std::list instead of std::vector Reduce overhead. --- src/db/upnp/Util.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/db/upnp/Util.hxx') 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 -#include +#include 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::list stringToTokens(const std::string &str, const char *delims = "/", bool skipinit = true); -- cgit v1.2.3