forked from OSchip/llvm-project
Workaround continued bot failures with MDTupleTypedArrayWrapper
Change the explicit constructor to be more specific. I think this will get us past the continued bot failures [1] with older clangs. [1]: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/8203 llvm-svn: 234331
This commit is contained in:
parent
157f1af743
commit
7acdbfc84b
|
@ -1079,10 +1079,10 @@ public:
|
||||||
|
|
||||||
template <class U>
|
template <class U>
|
||||||
explicit MDTupleTypedArrayWrapper(
|
explicit MDTupleTypedArrayWrapper(
|
||||||
const U &Tuple,
|
const MDTupleTypedArrayWrapper<U> &Other,
|
||||||
typename std::enable_if<
|
typename std::enable_if<!std::is_convertible<U *, T *>::value>::type * =
|
||||||
std::is_constructible<const MDTuple *, U>::value>::type * = nullptr)
|
nullptr)
|
||||||
: N(Tuple) {}
|
: N(Other.get()) {}
|
||||||
|
|
||||||
explicit operator bool() const { return get(); }
|
explicit operator bool() const { return get(); }
|
||||||
explicit operator MDTuple *() const { return get(); }
|
explicit operator MDTuple *() const { return get(); }
|
||||||
|
|
Loading…
Reference in New Issue