Skip to content
Snippets Groups Projects
Verified Commit 6a736dfc authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Use std::addressof() instead of std::__addressof()

parent a0d609b4
No related branches found
No related tags found
1 merge request!86Resolve "Build with Clang"
......@@ -123,7 +123,7 @@ public:
unique_lock() noexcept : m_device(0), m_owns(false) {}
explicit unique_lock(mutex_type& m)
: m_device(std::__addressof(m)), m_owns(false) {
: m_device(std::addressof(m)), m_owns(false) {
lock();
m_owns = true;
}
......@@ -234,7 +234,7 @@ public:
shared_lock() noexcept : m_device(nullptr), m_owns(false) {}
explicit shared_lock(mutex_type& m)
: m_device(std::__addressof(m)), m_owns(true) {
: m_device(std::addressof(m)), m_owns(true) {
m.lock_shared();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment