diff --git a/uppsrc/Core/Rpc/Rpc.h b/uppsrc/Core/Rpc/Rpc.h index d61b050df..a6541968b 100644 --- a/uppsrc/Core/Rpc/Rpc.h +++ b/uppsrc/Core/Rpc/Rpc.h @@ -214,7 +214,7 @@ struct RpcData { int GetRemainingCount() const { return in.GetCount() - ii; } - Value Get() { if(ii >= in.GetCount()) throw ValueTypeMismatch(); return in[ii++]; } + Value Get() { if(ii >= in.GetCount()) return Value(); return in[ii++]; } template RpcData& operator>>(T& x) { ValueGet(x, Get()); return *this; }