From 2d6fe4711ef8112df5675b1242be611effb20656 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 7 Feb 2024 20:18:23 -0600 Subject: [PATCH] branch2.cpp --- src/branch2.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/branch2.cpp b/src/branch2.cpp index 940e497c..b6a10798 100644 --- a/src/branch2.cpp +++ b/src/branch2.cpp @@ -18,6 +18,16 @@ Branch2::Branch2() } +Branch2::Branch2(Branch2 &v_) + : enabled(v_.enabled), + mode(v_.mode), + min_free_space(v_.min_free_space), + fd(v_.fd), + path(v_.path) +{ + v_.fd = -1; +} + Branch2::Branch2(Branch2 &&v_) : enabled(v_.enabled), mode(v_.mode),