diff --git a/src/branch2.cpp b/src/branch2.cpp index f9ed737d..6dc1da20 100644 --- a/src/branch2.cpp +++ b/src/branch2.cpp @@ -23,7 +23,7 @@ Branch2::Branch2(Branch2 &&v_) mode(v_.mode), min_free_space(v_.min_free_space), fd(v_.fd), - path(v_.path) + path(std::move(v_.path)) { v_.fd = -1; }