Added "explicit" as per compiler suggestion

pull/1206/head
Gennadiy Civil 8 years ago committed by GitHub
parent 026735daf3
commit 3cf65b5d86
  1. 2
      googlemock/test/gmock-nice-strict_test.cc

@ -65,7 +65,7 @@ using testing::internal::GetCapturedStdout;
// Class without default constructor. // Class without default constructor.
class NotDefaultConstructible { class NotDefaultConstructible {
public: public:
NotDefaultConstructible(int) {} explicit NotDefaultConstructible(int) {}
}; };
// Defines some mock classes needed by the tests. // Defines some mock classes needed by the tests.

Loading…
Cancel
Save