Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gflags
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
gflags
Commits
8ac4bc41
Commit
8ac4bc41
authored
8 years ago
by
Andreas Schuh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Pass std::string directly, no need for c_str() call
parent
3ae911f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gflags_unittest.cc
test/gflags_unittest.cc
+1
-1
No files found.
test/gflags_unittest.cc
View file @
8ac4bc41
...
@@ -1514,7 +1514,7 @@ static int main(int argc, char **argv) {
...
@@ -1514,7 +1514,7 @@ static int main(int argc, char **argv) {
// The non-recommended way:
// The non-recommended way:
FLAGS_changed_bool2
=
true
;
FLAGS_changed_bool2
=
true
;
SetUsageMessage
(
usage_message
.
c_str
()
);
SetUsageMessage
(
usage_message
);
SetVersionString
(
"test_version"
);
SetVersionString
(
"test_version"
);
ParseCommandLineFlags
(
&
argc
,
&
argv
,
true
);
ParseCommandLineFlags
(
&
argc
,
&
argv
,
true
);
MakeTmpdir
(
&
FLAGS_test_tmpdir
);
MakeTmpdir
(
&
FLAGS_test_tmpdir
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment