Commit ab775828 authored by Kenton Varda's avatar Kenton Varda

Fix build problem with pipelining on generic fields.

parent 98f17577
......@@ -256,6 +256,9 @@ struct AnyPointer {
inline kj::Own<PipelineHook> releasePipelineHook() { return kj::mv(hook); }
// For use by RPC implementations.
template <typename T, typename = kj::EnableIf<CAPNP_KIND(FromClient<T>) == Kind::INTERFACE>>
inline operator T() { return T(asCap()); }
private:
kj::Own<PipelineHook> hook;
kj::Array<PipelineOp> ops;
......
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