aboutsummaryrefslogtreecommitdiff
path: root/libbutl/path.txx
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.txx
parent7fde0c7f2b0c41300d38187140cc5a5c952e224b (diff)
Use small_vector in path::normalize()
Diffstat (limited to 'libbutl/path.txx')
-rw-r--r--libbutl/path.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/path.txx b/libbutl/path.txx
index e407a16..77fbbd7 100644
--- a/libbutl/path.txx
+++ b/libbutl/path.txx
@@ -151,7 +151,7 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason.
string_type& s (this->path_);
difference_type& ts (this->tsep_);
- typedef std::vector<string_type> paths;
+ using paths = small_vector<string_type, 16>;
paths ps;
bool tsep (ts != 0); // Trailing directory separator.