mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 22:22:54 +02:00
cleanup indentation in Socket
This commit is contained in:
parent
fe100695f0
commit
d89c54112d
1 changed files with 2 additions and 2 deletions
|
@ -128,8 +128,8 @@ Connection& Socket::findOrCreateConnection(const HifiSockAddr& sockAddr) {
|
||||||
auto it = _connectionsHash.find(sockAddr);
|
auto it = _connectionsHash.find(sockAddr);
|
||||||
|
|
||||||
if (it == _connectionsHash.end()) {
|
if (it == _connectionsHash.end()) {
|
||||||
it = _connectionsHash.insert(it, std::make_pair(sockAddr,
|
auto connection = std::unique_ptr<Connection>(new Connection(this, sockAddr, _ccFactory->create()));
|
||||||
std::unique_ptr<Connection>(new Connection(this, sockAddr, _ccFactory->create()))));
|
it = _connectionsHash.insert(it, std::make_pair(sockAddr, std::move(connection)));
|
||||||
}
|
}
|
||||||
|
|
||||||
return *it->second;
|
return *it->second;
|
||||||
|
|
Loading…
Reference in a new issue