Skip to content

Commit 96f1f68

Browse files
committed
Fix stupid mistake 🤦
1 parent 209c1e3 commit 96f1f68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/include/__exception/exception_ptr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {
8484
exception_ptr& operator=(const exception_ptr&) _NOEXCEPT;
8585
~exception_ptr() _NOEXCEPT;
8686
# else // _LIBCPP_BUILDING_LIBRARY
87-
_LIBCPP_HIDE_FROM_ABI exception_ptr(const exception_ptr&) _NOEXCEPT : __ptr_(__other.__ptr_) {
87+
_LIBCPP_HIDE_FROM_ABI exception_ptr(const exception_ptr& __other) _NOEXCEPT : __ptr_(__other.__ptr_) {
8888
if (__ptr_)
8989
__increment_refcount(__ptr_);
9090
}
91-
_LIBCPP_HIDE_FROM_ABI exception_ptr& operator=(const exception_ptr&) _NOEXCEPT {
91+
_LIBCPP_HIDE_FROM_ABI exception_ptr& operator=(const exception_ptr& __other) _NOEXCEPT {
9292
if (__ptr_ == __other.__ptr_)
9393
return *this;
9494
if (__other.__ptr_)

0 commit comments

Comments
 (0)