diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-06 10:19:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-06 10:19:59 +0200 |
commit | c03300fe14e5caffbee87565b76a64febfc4313a (patch) | |
tree | 763fed7e70221bba382705dcb125a10878c55e4b /libbutl/path.cxx | |
parent | 7fde0c7f2b0c41300d38187140cc5a5c952e224b (diff) |
Use small_vector in path::normalize()
Diffstat (limited to 'libbutl/path.cxx')
-rw-r--r-- | libbutl/path.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/path.cxx b/libbutl/path.cxx index f027233..608f309 100644 --- a/libbutl/path.cxx +++ b/libbutl/path.cxx @@ -29,7 +29,6 @@ #ifndef __cpp_lib_modules_ts #include <string> -#include <vector> #include <cstddef> #include <utility> @@ -124,7 +123,8 @@ namespace butl } #ifndef _WIN32 - static const vector<string> tmp_vars ({"TMPDIR", "TMP", "TEMP", "TEMPDIR"}); + static const small_vector<string, 4> tmp_vars ( + {"TMPDIR", "TMP", "TEMP", "TEMPDIR"}); static string temp_directory () |