diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-17 14:42:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-17 14:47:14 +0200 |
commit | 63e7b7afa75252298606c84e8ec82adaee5fa28a (patch) | |
tree | bce989a5797c5926dbe64c9ae55876de51c06acb /sd | |
parent | 528d698f97ef89635ac17f01530dd40a0cc5a7d0 (diff) |
Don't violate unordered container hash+pred requirements
"Two values k1 and k2 of type Key are considered equivalent if the container's
key equality predicate returns true when passed those values. If k1 and k2 are
equivalent, the container's hash function shall return the same value for both."
[unord.req]
But for INetContentTypeParameterList, all inserted keys are already lower-case
by construction, and all queries happen to be done with (literal) lower-case
keys, so just document the requirement here that insertion and query needs to be
done with lower-case keys.
Change-Id: Ic46845b7bb0376e995e7736b57fa80c777d1c263
Diffstat (limited to 'sd')
0 files changed, 0 insertions, 0 deletions