aboutsummaryrefslogtreecommitdiff
path: root/libbutl/path.mxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-06-06 10:19:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-06-06 10:19:59 +0200
commitc03300fe14e5caffbee87565b76a64febfc4313a (patch)
tree763fed7e70221bba382705dcb125a10878c55e4b /libbutl/path.mxx
parent7fde0c7f2b0c41300d38187140cc5a5c952e224b (diff)
Use small_vector in path::normalize()
Diffstat (limited to 'libbutl/path.mxx')
-rw-r--r--libbutl/path.mxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbutl/path.mxx b/libbutl/path.mxx
index d5dde59..2de85e9 100644
--- a/libbutl/path.mxx
+++ b/libbutl/path.mxx
@@ -16,7 +16,6 @@
#include <stdexcept> // invalid_argument
#include <functional> // hash
-#include <vector>
#ifdef _WIN32
#include <algorithm> // replace()
#endif
@@ -29,10 +28,12 @@ export module butl.path;
#ifdef __cpp_lib_modules_ts
import std.core;
#endif
+import butl.small_vector;
#ifdef _WIN32
import butl.utility;
#endif
#else
+#include <libbutl/small-vector.mxx>
#ifdef _WIN32
#include <libbutl/utility.mxx> // *case*()
#endif