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 e5095758ba
commit 9fdd6ccd92

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.