cpp: rpc: fix missing brace