aboutsummaryrefslogtreecommitdiffstats
path: root/fnet/src/examples/frt/rpc/rpc_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fnet/src/examples/frt/rpc/rpc_info.cpp')
-rw-r--r--fnet/src/examples/frt/rpc/rpc_info.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fnet/src/examples/frt/rpc/rpc_info.cpp b/fnet/src/examples/frt/rpc/rpc_info.cpp
index 9734342a24e..ab534a254c2 100644
--- a/fnet/src/examples/frt/rpc/rpc_info.cpp
+++ b/fnet/src/examples/frt/rpc/rpc_info.cpp
@@ -15,16 +15,16 @@ public:
void GetReq(FRT_RPCRequest **req, FRT_Supervisor *supervisor)
{
if ((*req) != nullptr)
- (*req)->SubRef();
+ (*req)->internal_subref();
(*req) = supervisor->AllocRPCRequest();
}
void FreeReqs(FRT_RPCRequest *r1, FRT_RPCRequest *r2)
{
if (r1 != nullptr)
- r1->SubRef();
+ r1->internal_subref();
if (r2 != nullptr)
- r2->SubRef();
+ r2->internal_subref();
}
void DumpMethodInfo(const char *indent, FRT_RPCRequest *info,
@@ -130,7 +130,7 @@ RPCInfo::main(int argc, char **argv)
m_list->GetErrorMessage());
}
FreeReqs(m_list, info);
- target->SubRef();
+ target->internal_subref();
return 0;
}