aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-namespace.c
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2018-07-09 16:12:27 -0700
committerCary Coutant <ccoutant@gmail.com>2018-07-09 16:12:27 -0700
commitc3c5e486808bc473d1642bb4ba84d80689c8fca2 (patch)
tree4019a62cfe570b9faaa39060b57dcca616d4cdd0 /gdb/cp-namespace.c
parent8d4c0995eb0996fdbc0ee490317e3765a94723d7 (diff)
downloadgdb-c3c5e486808bc473d1642bb4ba84d80689c8fca2.zip
gdb-c3c5e486808bc473d1642bb4ba84d80689c8fca2.tar.gz
gdb-c3c5e486808bc473d1642bb4ba84d80689c8fca2.tar.bz2
Fix test for availability of emplace_back.
Testing for the GCC version 5 or later isn't right, since C++ 11 support wasn't enabled by default until later. This patch tests the C++ standard support directly instead of inferring it from the GCC version. gold/ * incremental.cc (Sized_incremental_binary::setup_readers): Use emplace_back for C++ 11 or later.
Diffstat (limited to 'gdb/cp-namespace.c')
0 files changed, 0 insertions, 0 deletions