Skip to content

Commit 40ee6a5

Browse files
committed
fixed compile issue with clang tidy
1 parent c21f946 commit 40ee6a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rpc/src/service.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ namespace rpc
931931
auto item = service_proxies_.find(destination_zone_id);
932932
if (item != service_proxies_.end())
933933
{
934-
RPC_DEBUG("get_zone_proxy: Found existing proxy in service_proxies_");
934+
RPC_DEBUG("get_zone_proxy: Found existing proxy in service_proxies_", 0);
935935
return item->second.lock();
936936
}
937937
}

rpc/src/service_proxy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,15 +562,15 @@ namespace rpc
562562
RPC_ERROR("sp_add_ref failed");
563563
std::lock_guard l(insert_control_);
564564
proxies_.erase(object_id);
565-
RPC_ASSERT(false);
566565
result.error_code = ret;
566+
RPC_ASSERT(false);
567567
CO_RETURN result;
568568
}
569569
}
570570
if (!is_new && rule == object_proxy_creation_rule::RELEASE_IF_NOT_NEW)
571571
{
572572
RPC_DEBUG(
573-
"get_or_create_object_proxy calling sp_release due to object_proxy_creation_rule::RELEASE_IF_NOT_NEW");
573+
"get_or_create_object_proxy calling sp_release due to object_proxy_creation_rule::RELEASE_IF_NOT_NEW", 0);
574574

575575
// as this is an out parameter the callee will be doing an add ref if the object proxy is already
576576
// found we can do a release

0 commit comments

Comments
 (0)