diff options
| author | Billy Robert O'Neal III <bion@microsoft.com> | 2017-04-06 23:50:33 +0000 | 
|---|---|---|
| committer | Billy Robert O'Neal III <bion@microsoft.com> | 2017-04-06 23:50:33 +0000 | 
| commit | 8ac1fa16b2c8d1ece353a1c5e84604c7de31daaf (patch) | |
| tree | 53e0d38a6f29fb17833cb719d4c162b4bea507bd /libcxx/test/std/utilities/optional | |
| parent | eaeeaaf375c8824f641c0f02ed90582be73fc6ac (diff) | |
| download | bcm5719-llvm-8ac1fa16b2c8d1ece353a1c5e84604c7de31daaf.tar.gz bcm5719-llvm-8ac1fa16b2c8d1ece353a1c5e84604c7de31daaf.zip | |
Add noexcept(false) to more strongly indicate that not being noexcept is important for hash tests.
llvm-svn: 299735
Diffstat (limited to 'libcxx/test/std/utilities/optional')
| -rw-r--r-- | libcxx/test/std/utilities/optional/optional.hash/hash.pass.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/libcxx/test/std/utilities/optional/optional.hash/hash.pass.cpp b/libcxx/test/std/utilities/optional/optional.hash/hash.pass.cpp index 6d9a2607d14..4a0bf6d0370 100644 --- a/libcxx/test/std/utilities/optional/optional.hash/hash.pass.cpp +++ b/libcxx/test/std/utilities/optional/optional.hash/hash.pass.cpp @@ -26,7 +26,7 @@ namespace std {  template <>  struct hash<B> { -  size_t operator()(B const&) { return 0; } +  size_t operator()(B const&) noexcept(false) { return 0; }  };  } | 

