diff capnproto/VampnProto.h @ 67:db17657ac875

Validation fixes
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 05 Oct 2016 13:53:08 +0100
parents 6f160dee1192
children a5ba837bca28
line wrap: on
line diff
--- a/capnproto/VampnProto.h	Tue Sep 27 15:04:59 2016 +0100
+++ b/capnproto/VampnProto.h	Wed Oct 05 13:53:08 2016 +0100
@@ -769,8 +769,9 @@
     buildVampResponse_Finish(VampResponse::Builder &b,
                              const Vamp::HostExt::ProcessResponse &pr,
                              const PluginHandleMapper &pmapper) {
-
-        buildVampResponse_Process(b, pr, pmapper);
+        b.setSuccess(true);
+        auto u = b.getResponse().initFinish();
+        buildProcessResponse(u, pr, pmapper);
     }
 
     static void