aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs
diff options
context:
space:
mode:
authorDenis Krjuchkov <denis@crazydev.net>2013-12-03 14:57:26 +0600
committerDenis Krjuchkov <denis@crazydev.net>2013-12-03 14:57:26 +0600
commit55ed7bd34ded1ff4fb2ea7f531bb5b46a4f14cca (patch)
tree81210db9e8bb1a96f5c701d6463cdfb6cccb83b9 /src/fs
parenteeeef3eab5aec6362094239138843476f31a2b53 (diff)
downloadmpd-55ed7bd34ded1ff4fb2ea7f531bb5b46a4f14cca.tar.gz
mpd-55ed7bd34ded1ff4fb2ea7f531bb5b46a4f14cca.tar.xz
mpd-55ed7bd34ded1ff4fb2ea7f531bb5b46a4f14cca.zip
AllocatedPath.hxx: use move constructor
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/AllocatedPath.hxx2
1 files changed, 1 insertions, 1 deletions
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) {