diff options
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/test/support/nasty_containers.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/support/nasty_containers.hpp b/libcxx/test/support/nasty_containers.hpp index 292181b13bb..b9ef5a6a727 100644 --- a/libcxx/test/support/nasty_containers.hpp +++ b/libcxx/test/support/nasty_containers.hpp @@ -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); } |