diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-05-29 00:08:47 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-05-29 00:08:47 +0000 |
commit | bd2e949869cd238d5d94812007953cf6fe6f4d84 (patch) | |
tree | cd00a155c8c557fb941851e71f79b7720e157c61 /llvm/lib/Support/StringMap.cpp | |
parent | dcfcfdb0d166fff8388bdd2edc5a2948054c9da1 (diff) | |
download | llvm-bd2e949869cd238d5d94812007953cf6fe6f4d84.zip llvm-bd2e949869cd238d5d94812007953cf6fe6f4d84.tar.gz llvm-bd2e949869cd238d5d94812007953cf6fe6f4d84.tar.bz2 |
LWG 2969 "polymorphic_allocator::construct() shouldn't pass resource()"
Patch from Arthur O'Dwyer.
In the TS, `uses_allocator` construction for `pair` tried to use an allocator
type of `memory_resource*`, which is incorrect because `memory_resource*` is
not an allocator type. LWG 2969 fixed it to use `polymorphic_allocator` as the
allocator type instead.
https://wg21.link/lwg2969
(D47090 included this in `<memory_resource>`; at Eric's request, I've split
this out into its own patch applied to the existing
`<experimental/memory_resource>` instead.)
Reviewed as https://reviews.llvm.org/D47109
llvm-svn: 333384
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions