From 3b102263dba34ea98cff87a176905cf1f7f050a4 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Mon, 3 Nov 2025 14:13:32 -0500 Subject: [PATCH] rgw/beast: fix atomic_load_explicit typo typo from d8a3f3e2c5ae4d586fffdb12426c836b659c99cd was not detected during qa. this causes a compilation failure on ubuntu jammy: src/rgw/rgw_asio_frontend.cc:1193:31: error: 'atomic_load_excplicit' is not a member of 'std'; did you mean 'atomic_load_explicit'? 1193 | const auto ssl_ctx = std::atomic_load_excplicit(&ssl_context, std::memory_order_acquire); | ^~~~~~~~~~~~~~~~~~~~~ | atomic_load_explicit Signed-off-by: Casey Bodley --- src/rgw/rgw_asio_frontend.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_asio_frontend.cc b/src/rgw/rgw_asio_frontend.cc index baae92d2ed4..4c0ab7f2952 100644 --- a/src/rgw/rgw_asio_frontend.cc +++ b/src/rgw/rgw_asio_frontend.cc @@ -1190,7 +1190,7 @@ void AsioFrontend::on_accept(Listener& l, tcp::socket stream) #ifdef __cpp_lib_atomic_shared_ptr const auto ssl_ctx = ssl_context.load(std::memory_order_acquire); #else - const auto ssl_ctx = std::atomic_load_excplicit(&ssl_context, std::memory_order_acquire); + const auto ssl_ctx = std::atomic_load_explicit(&ssl_context, std::memory_order_acquire); #endif boost::asio::spawn(make_strand(context), std::allocator_arg, make_stack_allocator(), [this, s=std::move(stream), ssl_ctx] (boost::asio::yield_context yield) mutable { -- 2.39.5