Commit 281f478b authored by Matthias Vallentin's avatar Matthias Vallentin

Avoid ambiguous overload with inspect()

parent 7a153b61
......@@ -204,7 +204,10 @@ public:
/// Applies this processor to an empty type.
template <class T>
typename std::enable_if<std::is_empty<T>::value, error>::type
typename std::enable_if<
std::is_empty<T>::value && !detail::is_inspectable<Derived, T>::value,
error
>::type
apply(T&) {
return none;
}
......
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