@@ -80,7 +80,7 @@ class RpcFunctionWrapper<std::function<R(Args...)>>: public IFunctionWrapper {
8080 handle_call (MsgPack::Unpacker& unpacker, MsgPack::Packer& packer) {
8181 // unpacker not ready if deserialization fails at this point
8282 std::tuple<Args...> args;
83- if (!deserialize_all<Args...> (unpacker, args)) return false ;
83+ if (!deserialize_tuple (unpacker, args)) return false ;
8484 MsgPack::object::nil_t nil;
8585 invoke_with_tuple (_func, args, arx::stdx::make_index_sequence<sizeof ...(Args)>{});
8686 packer.serialize (nil, nil);
@@ -92,7 +92,7 @@ class RpcFunctionWrapper<std::function<R(Args...)>>: public IFunctionWrapper {
9292 handle_call (MsgPack::Unpacker& unpacker, MsgPack::Packer& packer) {
9393 // unpacker not ready if deserialization fails at this point
9494 std::tuple<Args...> args;
95- if (!deserialize_all<Args...> (unpacker, args)) return false ;
95+ if (!deserialize_tuple (unpacker, args)) return false ;
9696 MsgPack::object::nil_t nil;
9797 R out = invoke_with_tuple (_func, args, arx::stdx::make_index_sequence<sizeof ...(Args)>{});
9898 packer.serialize (nil, out);
0 commit comments