[libcxx] [test] nasty_mutex::operator& should return nullptr, like nasty_list above it.
Fixes MSVC "error C4716: 'nasty_mutex::operator&': must return a value".
Differential D19700
[libcxx] [test] nasty_mutex::operator& should return nullptr, like nasty_list above it. STL_MSFT on Apr 28 2016, 5:13 PM. Authored by
Details
[libcxx] [test] nasty_mutex::operator& should return nullptr, like nasty_list above it. Fixes MSVC "error C4716: 'nasty_mutex::operator&': must return a value".
Diff Detail Event TimelineComment Actions Well arguable it should be no return or even better it should have an "= delete" so it's diagnosed even if it's not called. For now this works though. Comment Actions [Eric Fiselier]
Agreed - I just wasn't sure what this code was trying to do, and I figured it should be consistent. I'm trying to keep my patches minimally intrusive until I understand your tests better. Thanks, |