Skip to content

Commit 97c42fe

Browse files
committed
Fix obvious typo
1 parent b66bb69 commit 97c42fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__memory/shared_ptr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ struct __shared_ptr_emplace : __shared_weak_count {
253253
using __value_type = __remove_cv_t<_Tp>;
254254

255255
template <class... _Args>
256-
_LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&...) : __storage_(std::move(__a)) {
256+
_LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __storage_(std::move(__a)) {
257257
if constexpr (is_same<typename _Alloc::value_type, __for_overwrite_tag>::value) {
258258
static_assert(
259259
sizeof...(_Args) == 0, "No argument should be provided to the control block when using _for_overwrite");

0 commit comments

Comments
 (0)