summaryrefslogtreecommitdiffstats
path: root/src/mutex.cpp
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2012-03-13 14:09:15 +0000
committertheraven <theraven@FreeBSD.org>2012-03-13 14:09:15 +0000
commitbaa75b9984d33ea49ffb76a73507b64d879166cc (patch)
tree491848d33dbdf1751fd52f321d3fbf70a8e616f2 /src/mutex.cpp
parentd8f28ec8a2faabad3aabb9f7a26755971424ef05 (diff)
downloadFreeBSD-src-baa75b9984d33ea49ffb76a73507b64d879166cc.zip
FreeBSD-src-baa75b9984d33ea49ffb76a73507b64d879166cc.tar.gz
Import new version of libc++ into vendor branch.
Approved by: dim (mentor)
Diffstat (limited to 'src/mutex.cpp')
-rw-r--r--src/mutex.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mutex.cpp b/src/mutex.cpp
index 1681719..9aa051b 100644
--- a/src/mutex.cpp
+++ b/src/mutex.cpp
@@ -20,8 +20,7 @@ const adopt_lock_t adopt_lock = {};
mutex::~mutex()
{
- int e = pthread_mutex_destroy(&__m_);
-// assert(e == 0);
+ pthread_mutex_destroy(&__m_);
}
void
OpenPOWER on IntegriCloud