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

Use correct inspector return type

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