mirror of
https://github.com/google/googletest.git
synced 2025-12-01 00:27:46 -05:00
Added "explicit" as per compiler suggestion
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user