commit | afeb309e0e4a1c2c35fc86f99c14649fa44c942d | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Tue Jan 12 14:23:14 2016 -0800 |
committer | Dan Albert <danalbert@google.com> | Tue Jan 12 14:23:14 2016 -0800 |
tree | 82bcfd5b57493ef18c93e4187d056490fdcf82db | |
parent | f5ef541b3ae782d99687cc3354c5d4094abb261c [diff] |
Correct value_type for some TrackingAllocators. The standard says that the value_type for the allocator of a map/multimap must be std::pair<const Key, T>. These instances were not properly carrying the const, and the updated version of libc++ has a static_assert to make sure that map::allocator_type and allocator::value_type really do match (as mismatches will tickle undefined behavior in libc++). Change-Id: I7a3a49fccea4ecc4579929d9ddd7872c62b60f5f