summaryrefslogtreecommitdiff
path: root/gdb/cp-abi.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-11-09 14:53:58 +0000
committerPedro Alves <palves@redhat.com>2016-11-09 14:53:58 +0000
commit7a63494a0df60cf71b9cf03c4eb8f24719d03e66 (patch)
tree5b59f39a837aaa33f12ddb718499ad44c8a1650f /gdb/cp-abi.c
parent8c84bffb45ac63b98fffc5c1a492c2eb7e4f27e2 (diff)
downloadbinutils-gdb-7a63494a0df60cf71b9cf03c4eb8f24719d03e66.tar.gz
gdb: Use vector::emplace_back
Now that we require C++11, we can use vector::emplace_back to construct elements in place instead of constructing and then copying. gdb/ChangeLog: 2016-11-09 Pedro Alves <palves@redhat.com> * main.c (struct cmdarg): Add constructor. (captured_main_1): Use vector::emplace_back. * tracepoint.c (collection_list::add_memrange): Likewise.
Diffstat (limited to 'gdb/cp-abi.c')
0 files changed, 0 insertions, 0 deletions