Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
3cf65b5d
Commit
3cf65b5d
authored
Aug 20, 2017
by
Gennadiy Civil
Committed by
GitHub
Aug 20, 2017
Browse files
Added "explicit" as per compiler suggestion
parent
026735da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googlemock/test/gmock-nice-strict_test.cc
googlemock/test/gmock-nice-strict_test.cc
+1
-1
No files found.
googlemock/test/gmock-nice-strict_test.cc
View file @
3cf65b5d
...
@@ -65,7 +65,7 @@ using testing::internal::GetCapturedStdout;
...
@@ -65,7 +65,7 @@ using testing::internal::GetCapturedStdout;
// Class without default constructor.
// Class without default constructor.
class
NotDefaultConstructible
{
class
NotDefaultConstructible
{
public:
public:
NotDefaultConstructible
(
int
)
{}
explicit
NotDefaultConstructible
(
int
)
{}
};
};
// Defines some mock classes needed by the tests.
// Defines some mock classes needed by the tests.
...
...
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