Skip to content

Commit dd0a2e4

Browse files
committed
Fix r359229 which tried to fix r359159...
When r359229 added noexcept to the declaration of `~mutex`, it didn't add it to the definition which caused -Wimplicit-exception-spec-mismatch to fire. This just adapts the definition to agree with the declaration. llvm-svn: 359275
1 parent a9e7fd2 commit dd0a2e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/src/mutex.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const defer_lock_t defer_lock = {};
1919
const try_to_lock_t try_to_lock = {};
2020
const adopt_lock_t adopt_lock = {};
2121

22-
mutex::~mutex()
22+
mutex::~mutex() _NOEXCEPT
2323
{
2424
__libcpp_mutex_destroy(&__m_);
2525
}

0 commit comments

Comments
 (0)