mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-28 10:13:56 +00:00
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 a7bae919ad.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user