#ifndef marshall_wrap_h
#define marshall_wrap_h
-#include "marshall.h"
+#include "include/rpc/marshall.h"
typedef std::function<rpc_protocol::status(unmarshall &&, marshall &)> handler;
return new handler([=](unmarshall && u, marshall & m) -> RV {
// Unmarshall each argument with the correct type and store the
// result in a tuple.
- ArgsStorage t{u._grab<typename std::decay<Args>::type>()...};
+ ArgsStorage t{u.get<typename std::decay<Args>::type>()...};
// Verify successful unmarshalling of the entire input stream.
if (!u.okdone())
return (RV)ErrorHandler::unmarshall_args_failure();