File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -299,17 +299,18 @@ class MatcherBase : private MatcherDescriberInterface {
299
299
}
300
300
301
301
protected:
302
- MatcherBase () : vtable_(nullptr ) {}
302
+ MatcherBase () : vtable_(nullptr ), buffer_() {}
303
303
304
304
// Constructs a matcher from its implementation.
305
305
template <typename U>
306
- explicit MatcherBase (const MatcherInterface<U>* impl) {
306
+ explicit MatcherBase (const MatcherInterface<U>* impl)
307
+ : vtable_(nullptr ), buffer_() {
307
308
Init (impl);
308
309
}
309
310
310
311
template <typename M, typename = typename std::remove_reference<
311
312
M>::type::is_gtest_matcher>
312
- MatcherBase (M&& m) { // NOLINT
313
+ MatcherBase (M&& m) : vtable_( nullptr ), buffer_() { // NOLINT
313
314
Init (std::forward<M>(m));
314
315
}
315
316
You can’t perform that action at this time.
0 commit comments