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
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: dd0a2e4461a1af8fd9ca99b3dd5f45d3adf54d81
diff --git a/src/mutex.cpp b/src/mutex.cpp
index 6bb44e0..cecb89b 100644
--- a/src/mutex.cpp
+++ b/src/mutex.cpp
@@ -19,7 +19,7 @@
const try_to_lock_t try_to_lock = {};
const adopt_lock_t adopt_lock = {};
-mutex::~mutex()
+mutex::~mutex() _NOEXCEPT
{
__libcpp_mutex_destroy(&__m_);
}