diff --git a/include/gmock/gmock-matchers.h b/include/gmock/gmock-matchers.h index 627f3ff0..86c3db73 100644 --- a/include/gmock/gmock-matchers.h +++ b/include/gmock/gmock-matchers.h @@ -250,8 +250,9 @@ class MatcherBase { template class Matcher : public internal::MatcherBase { public: - // Constructs a null matcher. Needed for storing Matcher objects in - // STL containers. + // Constructs a null matcher. Needed for storing Matcher objects in STL + // containers. A default-constructed matcher is not yet initialized. You + // cannot use it until a valid value has been assigned to it. Matcher() {} // Constructs a matcher from its implementation.