diff options
-rw-r--r-- | libbutl/path.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/path.hxx b/libbutl/path.hxx index fae145e..b3be75a 100644 --- a/libbutl/path.hxx +++ b/libbutl/path.hxx @@ -59,7 +59,7 @@ namespace butl string_type path; explicit - invalid_basic_path (const string_type& p): path (p) {} + invalid_basic_path (string_type p): path (std::move (p)) {} explicit invalid_basic_path (const C* p): path (p) {} invalid_basic_path (const C* p, size_type n): path (p, n) {} |