mirror of
https://github.com/gflags/gflags.git
synced 2025-04-05 05:25:04 +00:00
fix: Pass std::string directly, no need for c_str() call
This commit is contained in:
parent
3ae911f3e7
commit
8ac4bc41aa
1 changed files with 1 additions and 1 deletions
|
@ -1514,7 +1514,7 @@ static int main(int argc, char **argv) {
|
|||
// The non-recommended way:
|
||||
FLAGS_changed_bool2 = true;
|
||||
|
||||
SetUsageMessage(usage_message.c_str());
|
||||
SetUsageMessage(usage_message);
|
||||
SetVersionString("test_version");
|
||||
ParseCommandLineFlags(&argc, &argv, true);
|
||||
MakeTmpdir(&FLAGS_test_tmpdir);
|
||||
|
|
Loading…
Add table
Reference in a new issue