From e2eae56bd31a1f39d5ba76ee1bf350d0059ce7cd Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Sun, 20 Dec 2015 00:38:37 +0100 Subject: [PATCH] sal: replace a list with vector std::stable_sort requires random access iterators, which std::list does not provide, so this is not actually supposed to work, but strangely does. But there's no reason why this couldn't be a vector. Change-Id: I98ec5c28204d01a7352d15ed783748fc17bd8105 --- sal/osl/w32/procimpl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sal/osl/w32/procimpl.cxx b/sal/osl/w32/procimpl.cxx index c0d5673faf38..f7b66cabd498 100644 --- a/sal/osl/w32/procimpl.cxx +++ b/sal/osl/w32/procimpl.cxx @@ -38,7 +38,6 @@ #include "secimpl.h" #include -#include #include #include #include @@ -53,7 +52,7 @@ const rtl::OUString QUOTE("\""); namespace /* private */ { - typedef std::list string_container_t; + typedef std::vector string_container_t; typedef string_container_t::iterator string_container_iterator_t; typedef string_container_t::const_iterator string_container_const_iterator_t; typedef std::pair iterator_pair_t;