Commit 7a153b61 authored by Matthias Vallentin's avatar Matthias Vallentin

Use correct inspector return type

parent 7eaf387c
......@@ -433,7 +433,7 @@ public:
typename std::enable_if<
detail::is_inspectable<Derived, T>::value
&& !detail::has_serialize<T>::value,
error
decltype(inspect(std::declval<Derived&>(), std::declval<T&>()))
>::type
apply(T& x) {
return inspect(dref(), x);
......
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