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:
Eric Fiselier 2016-04-29 00:45:46 +00:00
parent 2d1a7f1400
commit b6e757ed1d

View File

@ -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); }