cleanup indentation in Socket

This commit is contained in:
Stephen Birarda 2015-08-17 16:35:23 -07:00
parent fe100695f0
commit d89c54112d

View file

@ -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;