Googletest export

Fix build under GCC 5

PiperOrigin-RevId: 351607537
This commit is contained in:
dmauro 2021-01-13 12:53:06 -05:00 committed by Derek Mauro
parent 6b2e74905e
commit 0186caf753

View File

@ -418,7 +418,7 @@ class MatcherBase : private MatcherDescriberInterface {
std::is_trivially_destructible<M>::value;
}
template <typename M, bool = IsInlined<M>()>
template <typename M, bool = MatcherBase::IsInlined<M>()>
struct ValuePolicy {
static const M& Get(const MatcherBase& m) {
// When inlined along with Init, need to be explicit to avoid violating