diff --git a/src/branch2.cpp b/src/branch2.cpp index 22bb17fa..079fd2f6 100644 --- a/src/branch2.cpp +++ b/src/branch2.cpp @@ -19,12 +19,13 @@ Branch2::Branch2() } Branch2::Branch2(Branch2 const &v_) + enabled(v_.enabled), + mode(v_.mode), + min_free_space(v_.min_free_space), + fd(v_.fd), + path(v_.path) { - enabled = v_.enabled; - // mode = v_.mode; - min_free_space = v_.min_free_space; - fd = v_.fd; - path = v_.path; + } Branch2::Branch2(toml::value const &v_)