From 55ed7bd34ded1ff4fb2ea7f531bb5b46a4f14cca Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Tue, 3 Dec 2013 14:57:26 +0600 Subject: [PATCH] AllocatedPath.hxx: use move constructor --- src/fs/AllocatedPath.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs/AllocatedPath.hxx b/src/fs/AllocatedPath.hxx index 5b5221b45..bc69bc618 100644 --- a/src/fs/AllocatedPath.hxx +++ b/src/fs/AllocatedPath.hxx @@ -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) {