Skip to content
Commit 7570a17c authored by Tom de Vries's avatar Tom de Vries
Browse files

[gdb/build] Use move capture in gdb_demangle



Use move capture in gdb_demangle when compiling for c++14 or higher, to save a
std::string copy.

Tested on x86_64-linux.

Reported-By: default avatarTom Tromey <tom@tromey.com>
Approved-By: default avatarTom Tromey <tom@tromey.com>
parent e3b66187
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment