diff --git a/src/state.hpp b/src/state.hpp index 7f7af50f..b7905a51 100644 --- a/src/state.hpp +++ b/src/state.hpp @@ -103,6 +103,13 @@ public: { } + OpenFile(OpenFile &&o_) noexcept + : ref_count(o_.ref_count.load()), + backing_id(o_.backing_id), + fi(o_.fi) + { + } + std::atomic ref_count; int backing_id; FileInfo *fi;