diff --git a/stdlib/public/Concurrency/Actor.cpp b/stdlib/public/Concurrency/Actor.cpp index d70e751d455c0..681f2ea91b7c5 100644 --- a/stdlib/public/Concurrency/Actor.cpp +++ b/stdlib/public/Concurrency/Actor.cpp @@ -685,7 +685,7 @@ class DefaultActorImpl : public HeapObject { /// Properly construct an actor, except for the heap header. void initialize() { - new (&CurrentState) std::atomic(State{JobRef(), Flags()}); + new (&CurrentState) swift::atomic(State{JobRef(), Flags()}); JobStorageHeapObject.metadata = nullptr; }