Added "explicit" as per compiler suggestion

This commit is contained in:
Gennadiy Civil 2017-08-20 15:20:13 -04:00 committed by GitHub
parent 026735daf3
commit 3cf65b5d86

View File

@ -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.