aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-18 14:07:57 -0600
committerTom Tromey <tom@tromey.com>2018-05-21 09:36:33 -0600
commit22ca247e9e29c11ccfc99b5d187c7dc925608b78 (patch)
tree5c699720a30a5bdd3cd4f2a32949771a13d5edb9 /gdb/ada-lang.c
parent184cde7552b5434196b8380be23b39ff4a5a17e6 (diff)
downloadbinutils-22ca247e9e29c11ccfc99b5d187c7dc925608b78.zip
binutils-22ca247e9e29c11ccfc99b5d187c7dc925608b78.tar.gz
binutils-22ca247e9e29c11ccfc99b5d187c7dc925608b78.tar.bz2
Use std::unique_ptr in dwarf2_read_debug_names
This changes dwarf2_read_debug_names to use std::unique_ptr from the outset. This simplifies the code that installs the resulting map into dwarf2_per_objfile. Tested by the buildbot. ChangeLog 2018-05-21 Tom Tromey <tom@tromey.com> * dwarf2read.c (dwarf2_read_debug_names): Use std::unique_ptr. (mapped_index_base): Use DISABLE_COPY_AND_ASSIGN. Default constructor.
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions