Code cleanup: dwarf2read.c:uniquify_cu_indices: Use std::unique
authorPedro Alves <palves@redhat.com>
Sun, 11 Jun 2017 23:43:55 +0000 (00:43 +0100)
committerPedro Alves <palves@redhat.com>
Mon, 12 Jun 2017 16:06:25 +0000 (17:06 +0100)
commit6fd931f2d66af8398b2fae3ab5f5afe091b8362f
treeea687a3ab1e64911074d7482486cce5fa19eaf26
parentbc8f2430e08cc2a520db49a42686e0529be4a3bc
Code cleanup: dwarf2read.c:uniquify_cu_indices: Use std::unique

gdb/ChangeLog:
2017-06-12  Pedro Alves  <palves@redhat.com>

* dwarf2read.c (uniquify_cu_indices): Use std::unique and
std::vector::erase.
gdb/ChangeLog
gdb/dwarf2read.c