summaryrefslogtreecommitdiff
path: root/src/buildtool/multithreading
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/multithreading')
-rw-r--r--src/buildtool/multithreading/atomic_value.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buildtool/multithreading/atomic_value.hpp b/src/buildtool/multithreading/atomic_value.hpp
index 2c108a96..5cef8a65 100644
--- a/src/buildtool/multithreading/atomic_value.hpp
+++ b/src/buildtool/multithreading/atomic_value.hpp
@@ -12,8 +12,7 @@ template <class T>
class AtomicValue {
public:
AtomicValue() noexcept = default;
- AtomicValue(AtomicValue const& other) noexcept
- : data_{other.data_.load()} {}
+ AtomicValue(AtomicValue const& other) noexcept = delete;
AtomicValue(AtomicValue&& other) noexcept : data_{other.data_.load()} {}
~AtomicValue() noexcept = default;