mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2024-12-14 23:38:28 +00:00
Add a return value for nasty_mutex::operator&. Patch from STL@microsoft.com
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267961 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d1a7f1400
commit
b6e757ed1d
@ -287,7 +287,7 @@ public:
|
||||
nasty_mutex() _NOEXCEPT {}
|
||||
~nasty_mutex() {}
|
||||
|
||||
nasty_mutex *operator& () { assert(false); }
|
||||
nasty_mutex *operator& () { assert(false); return nullptr; }
|
||||
template <typename T>
|
||||
void operator, (const T &) { assert(false); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user