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…
Reference in New Issue
Block a user