diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2019-04-26 05:04:33 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2019-04-26 05:04:33 +0000 |
commit | dd0a2e4461a1af8fd9ca99b3dd5f45d3adf54d81 (patch) | |
tree | 4cf6b561cbcd9e107889d82b01950566f8f09b25 /libcxx/src/mutex.cpp | |
parent | a9e7fd21883bfded64bc54f626b1ece6598039ad (diff) | |
download | bcm5719-llvm-dd0a2e4461a1af8fd9ca99b3dd5f45d3adf54d81.tar.gz bcm5719-llvm-dd0a2e4461a1af8fd9ca99b3dd5f45d3adf54d81.zip |
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
Diffstat (limited to 'libcxx/src/mutex.cpp')
-rw-r--r-- | libcxx/src/mutex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/mutex.cpp b/libcxx/src/mutex.cpp index 6bb44e0551d..cecb89b3399 100644 --- a/libcxx/src/mutex.cpp +++ b/libcxx/src/mutex.cpp @@ -19,7 +19,7 @@ const defer_lock_t defer_lock = {}; const try_to_lock_t try_to_lock = {}; const adopt_lock_t adopt_lock = {}; -mutex::~mutex() +mutex::~mutex() _NOEXCEPT { __libcpp_mutex_destroy(&__m_); } |