Commit 55ed7bd3 authored by Denis Krjuchkov's avatar Denis Krjuchkov

AllocatedPath.hxx: use move constructor

parent eeeef3ea
......@@ -53,7 +53,7 @@ class AllocatedPath {
AllocatedPath(const_pointer _value):value(_value) {}
AllocatedPath(string &&_value):value(_value) {}
AllocatedPath(string &&_value):value(std::move(_value)) {}
static AllocatedPath Build(const_pointer a, size_t a_size,
const_pointer b, size_t b_size) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment