We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af2b313 commit d7c0760Copy full SHA for d7c0760
include/exec/__detail/__system_context_default_impl.hpp
@@ -338,11 +338,11 @@ namespace exec::__system_context_default_impl {
338
return __old_factory;
339
}
340
341
- private:
342
std::atomic<bool> __instance_locked_{false};
343
std::shared_ptr<_Interface> __instance_{nullptr};
344
std::atomic<__parallel_scheduler_backend_factory> __factory_{__default_factory};
345
+ private:
346
/// The default factory returns an instance of `_Impl`.
347
static auto __default_factory() -> std::shared_ptr<_Interface> {
348
return std::make_shared<_Impl>();
0 commit comments