MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / equals

Method equals

src/OpenLoco/src/Network/Socket.cpp:215–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213 }
214
215 bool equals(const INetworkEndpoint& other) const override
216 {
217 auto& other2 = *static_cast<const NetworkEndpoint*>(&other);
218 return compareSockets(&_address, &other2._address) == 0;
219 }
220
221 private:
222#if defined(__MINGW32__)

Callers 2

findClientMethod · 0.80
onReceivePacketMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected