diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-01-28 04:41:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 21:41:59 +0100 |
commit | 1431f90d8c3d3ed0afcaee62073d5808cea227ff (patch) | |
tree | 0980a960ae6058507a8706d81b8f1e98c8d6e5fb /lib/pure | |
parent | a7bae919adb952362cb53206140872d2b7424b47 (diff) | |
download | Nim-1431f90d8c3d3ed0afcaee62073d5808cea227ff.tar.gz |
Revert "Fix #13093 C++ Atomics: operator= is implicitly deleted because the default definition would be ill-formed " (#21307)
Revert "Fix #13093 C++ Atomics: operator= is implicitly deleted because the default definition would be ill-formed (#21169)" This reverts commit a7bae919adb952362cb53206140872d2b7424b47.
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/concurrency/atomics.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/concurrency/atomics.nim b/lib/pure/concurrency/atomics.nim index 49204bd4d..c7b881bc5 100644 --- a/lib/pure/concurrency/atomics.nim +++ b/lib/pure/concurrency/atomics.nim @@ -89,7 +89,7 @@ when defined(cpp) or defined(nimdoc): ## with other moSequentiallyConsistent operations. type - Atomic*[T] {.importcpp: "std::atomic", completeStruct, requiresInit.} = object + Atomic*[T] {.importcpp: "std::atomic", completeStruct.} = object ## An atomic object with underlying type `T`. raw: T |