mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
Internal change
PiperOrigin-RevId: 374273547
This commit is contained in:
@@ -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_);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user