aboutsummaryrefslogtreecommitdiff
path: root/gdb/tid-parse.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-09-17 13:11:07 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-09-17 13:11:07 -0400
commit461464f22632163209937ba5128d1f9f32554ea3 (patch)
treeaedb5efa545c00cbab381b348794437ce92b0c67 /gdb/tid-parse.h
parent04e2a1829ea137ac23ac96e98fd60f9d720dcdcb (diff)
downloadgdb-461464f22632163209937ba5128d1f9f32554ea3.zip
gdb-461464f22632163209937ba5128d1f9f32554ea3.tar.gz
gdb-461464f22632163209937ba5128d1f9f32554ea3.tar.bz2
Fix use-after-move in compile/compile-cplus-types.c
Patch d82b3862f12 ("compile: Remove non-const reference parameters") introduced a regression in compile/compile-cplus-types.c. The new_scope variable in compile_cplus_instance::enter_scope is used after it was std::moved. This patch fixes it by referring to the back of the vector where it was moved instead. gdb/ChangeLog: * compile/compile-cplus-types.c (compile_cplus_instance::enter_scope): Don't use new_scope after std::move.
Diffstat (limited to 'gdb/tid-parse.h')
0 files changed, 0 insertions, 0 deletions