comparison 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
comparison
equal deleted inserted replaced
66:6f160dee1192 67:db17657ac875
767 767
768 static void 768 static void
769 buildVampResponse_Finish(VampResponse::Builder &b, 769 buildVampResponse_Finish(VampResponse::Builder &b,
770 const Vamp::HostExt::ProcessResponse &pr, 770 const Vamp::HostExt::ProcessResponse &pr,
771 const PluginHandleMapper &pmapper) { 771 const PluginHandleMapper &pmapper) {
772 772 b.setSuccess(true);
773 buildVampResponse_Process(b, pr, pmapper); 773 auto u = b.getResponse().initFinish();
774 buildProcessResponse(u, pr, pmapper);
774 } 775 }
775 776
776 static void 777 static void
777 buildVampResponse_Error(VampResponse::Builder &b, 778 buildVampResponse_Error(VampResponse::Builder &b,
778 const std::string &errorText, 779 const std::string &errorText,