mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-05 22:27:34 +00:00
Pass a string by reference rather than by value
* tools/bilint.cc (display_usage): Pass program name by reference. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
98681a9327
commit
96fba7d95f
@ -52,7 +52,7 @@ struct options
|
||||
};//end struct options;
|
||||
|
||||
void
|
||||
display_usage(const string prog_name, ostream& out)
|
||||
display_usage(const string& prog_name, ostream& out)
|
||||
{
|
||||
out << "usage: " << prog_name << "[options] [<bi-file1>\n"
|
||||
<< " where options can be:\n"
|
||||
|
Loading…
Reference in New Issue
Block a user