| commit | 5cac7755ab6bb6956ec1bea5ebe108e7341fdbdd | [log] [tgz] |
|---|---|---|
| author | Eric Fiselier <eric@efcs.ca> | Wed Dec 14 22:48:38 2016 +0000 |
| committer | Eric Fiselier <eric@efcs.ca> | Wed Dec 14 22:48:38 2016 +0000 |
| tree | 803ced336cc94efb4854401c798dbedb12ee2e67 | |
| parent | 286adee501ef95240fb926d170dd287887976d01 [diff] |
Fix PR31378 - std::list::remove should not require a default constructible allocator. In list::remove we collect the nodes we're removing in a seperate list instance. However we construct this list using the default constructor which default constructs the allocator. However allocators are not required to be default constructible. This patch fixes the construction of the second list. llvm-svn: 289735