Internal change

PiperOrigin-RevId: 374273547
This commit is contained in:
hai007
2021-05-17 13:54:26 -07:00
committed by Copybara-Service
parent 52f0e43055
commit dffa2d661d
2 changed files with 0 additions and 12 deletions
-8
View File
@@ -602,14 +602,6 @@ void ClientProxy::OnPayloadProgress(const std::string& endpoint_id,
}
}
bool operator==(const ClientProxy& lhs, const ClientProxy& rhs) {
return lhs.GetClientId() == rhs.GetClientId();
}
bool operator<(const ClientProxy& lhs, const ClientProxy& rhs) {
return lhs.GetClientId() < rhs.GetClientId();
}
void ClientProxy::RemoveAllEndpoints() {
MutexLock lock(&mutex_);
-4
View File
@@ -298,10 +298,6 @@ class ClientProxy final {
std::make_unique<CancellationFlag>(true);
};
// Operator overloads when comparing Ptr<ClientProxy>.
bool operator==(const ClientProxy& lhs, const ClientProxy& rhs);
bool operator<(const ClientProxy& lhs, const ClientProxy& rhs);
} // namespace connections
} // namespace nearby
} // namespace location