Commit 0186caf7 by dmauro Committed by Derek Mauro

Googletest export

Fix build under GCC 5 PiperOrigin-RevId: 351607537
parent 6b2e7490
...@@ -418,7 +418,7 @@ class MatcherBase : private MatcherDescriberInterface { ...@@ -418,7 +418,7 @@ class MatcherBase : private MatcherDescriberInterface {
std::is_trivially_destructible<M>::value; std::is_trivially_destructible<M>::value;
} }
template <typename M, bool = IsInlined<M>()> template <typename M, bool = MatcherBase::IsInlined<M>()>
struct ValuePolicy { struct ValuePolicy {
static const M& Get(const MatcherBase& m) { static const M& Get(const MatcherBase& m) {
// When inlined along with Init, need to be explicit to avoid violating // When inlined along with Init, need to be explicit to avoid violating
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment