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:
Dodji Seketeli 2013-12-07 07:26:06 +01:00
parent 98681a9327
commit 96fba7d95f

View File

@ -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"