We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5e5c81 commit 7d89e46Copy full SHA for 7d89e46
src/libutil/include/nix/util/sync.hh
@@ -39,6 +39,7 @@ public:
39
SyncBase() { }
40
SyncBase(const T & data) : data(data) { }
41
SyncBase(T && data) noexcept : data(std::move(data)) { }
42
+ SyncBase(SyncBase && other) noexcept : data(std::move(*other.lock())) { }
43
44
template<class L>
45
class Lock
0 commit comments