diff --git a/uppsrc/Core/Rpc/Rpc.h b/uppsrc/Core/Rpc/Rpc.h index 8ff2ae6be..a1989b4eb 100644 --- a/uppsrc/Core/Rpc/Rpc.h +++ b/uppsrc/Core/Rpc/Rpc.h @@ -214,6 +214,7 @@ struct RpcData { ValueMap out_map; int GetRemainingCount() const { return in.GetCount() - ii; } + bool HasMore() const { return GetRemainingCount() > 0; } Value Get() { if(ii >= in.GetCount()) return Value(); return in[ii++]; }