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:
ringabout
2023-01-28 04:41:59 +08:00
committed by GitHub
parent a7bae919ad
commit 1431f90d8c
5 changed files with 2 additions and 54 deletions

View File

@@ -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