2018-11-19 François Dumont <fdumont@gcc.gnu.org>
authorFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 19 Nov 2018 21:02:17 +0000 (21:02 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 19 Nov 2018 21:02:17 +0000 (21:02 +0000)
commit0da4824836328ffcc9a5d96a242756bad602d2fc
tree0647881410ad463038b7f0cc47f985738d8979b5
parent4b0f04fba5fab30f28b55107ccddfbe7e1243743
2018-11-19  François Dumont  <fdumont@gcc.gnu.org>

* include/ext/throw_allocator.h
(annotate_base::insert(void*, size_t)): Use insert result to check for
double insert attempt.
(annotate_base::insert_construct(void*)): Likewise.
(annotate_base::check_allocated(void*, size_t)): Return found iterator.
(annotate_base::erase(void*, size_t)): Use latter method returned
iterator.
(annotate_base::check_constructed(void*, size_t)): Return found iterator.
(annotate_base::erase_construct(void*)): Use latter method returned
iterator.

From-SVN: r266284
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/throw_allocator.h