mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
Added "explicit" as per compiler suggestion
This commit is contained in:
parent
026735daf3
commit
3cf65b5d86
@ -65,7 +65,7 @@ using testing::internal::GetCapturedStdout;
|
||||
// Class without default constructor.
|
||||
class NotDefaultConstructible {
|
||||
public:
|
||||
NotDefaultConstructible(int) {}
|
||||
explicit NotDefaultConstructible(int) {}
|
||||
};
|
||||
|
||||
// Defines some mock classes needed by the tests.
|
||||
|
Loading…
x
Reference in New Issue
Block a user