https://sourceware.org/bugzilla/show_bug.cgi?id=19793
Bug ID: 19793
Summary: script-sections.cc:1475: possible redundant string
copy ?
Product: binutils
Version: 2.27 (HEAD)
Status: NEW
Severity: minor
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: dcb314 at hotmail dot com
CC: ian at airs dot com
Target Milestone: ---
[src/gold/script-sections.cc:1475]: (performance) Function parameter 'name'
should be passed by reference.
Source code is
void
set_section_name(const std::string name)
{
More usual would be
void
set_section_name(const std::string & name)
{
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils