Skip to content
Commit efe2296b authored by Simon Marchi's avatar Simon Marchi
Browse files

gdb: remove unnecessary call to std::string constructor



I spotted this explicit call to std::string, which creates an
unnecessary temporary extra std::string, while calling emplace_back.
I'm not sure if it has any impact in an optimized build, maybe the
compiler elides it.  But still, it's unnecessary.

Change-Id: I873337ea91db29ac06267aff8fc12dcf52824cac
Approved-By: default avatarTom Tromey <tom@tromey.com>
parent 9c0fb734
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