AllocatedPath.hxx: use move constructor

This commit is contained in:
Denis Krjuchkov 2013-12-03 14:57:26 +06:00
parent eeeef3eab5
commit 55ed7bd34d
1 changed files with 1 additions and 1 deletions

View File

@ -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) {