mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 16:13:28 +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);
|
||||
|
||||
if (it == _connectionsHash.end()) {
|
||||
it = _connectionsHash.insert(it, std::make_pair(sockAddr,
|
||||
std::unique_ptr<Connection>(new Connection(this, sockAddr, _ccFactory->create()))));
|
||||
auto connection = std::unique_ptr<Connection>(new Connection(this, sockAddr, _ccFactory->create()));
|
||||
it = _connectionsHash.insert(it, std::make_pair(sockAddr, std::move(connection)));
|
||||
}
|
||||
|
||||
return *it->second;
|
||||
|
|
Loading…
Reference in a new issue