Please sign in to comment.
JK2: Remove mismatched allocator from std::map typedefs
The Allocator is meant to be one that is suitable for allocating std::pair<key, value> instances, not value instances, and the Standard C++ library provided by gcc 8 asserts that the types match. The closest valid allocator here would be std::allocator<std::pair<key, value>>, but that is the default for this template anyway, so we can just omit it. Closes: #985 Bug-Debian: https://bugs.debian.org/905477 Signed-off-by: Simon McVittie <firstname.lastname@example.org>
- Loading branch information...
Showing with 4 additions and 4 deletions.