diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-03-03 22:35:58 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-03-03 22:35:58 +0000 |
commit | bd6a2d850565341ff6fbf134998d48ad84d35585 (patch) | |
tree | 4fcbcf60038f02d81f5381fc166bfe1cb1fbf35f /lldb/source/Commands/CommandObjectMemory.cpp | |
parent | 7ee83b41e01e3377b6c96a418eea2bd8b8b5b940 (diff) | |
download | llvm-bd6a2d850565341ff6fbf134998d48ad84d35585.zip llvm-bd6a2d850565341ff6fbf134998d48ad84d35585.tar.gz llvm-bd6a2d850565341ff6fbf134998d48ad84d35585.tar.bz2 |
Fix hash requirements check in __hash_table.
r296565 attempted to add better diagnostics when an unordered container
is instantiated with a hash that doesn't meet the Hash requirements.
However I mistakenly checked the wrong set of requirements. Specifically
it checked if the hash met the requirements for specializations of
std::hash. However these requirements are stricter than the generic
Hash requirements.
This patch fixes the assertions to only check the Hash requirements.
llvm-svn: 296919
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
0 files changed, 0 insertions, 0 deletions