From d89c54112dadc7440fbcb7cca7b8f6467b6678bb Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 17 Aug 2015 16:35:23 -0700 Subject: [PATCH] cleanup indentation in Socket --- libraries/networking/src/udt/Socket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/networking/src/udt/Socket.cpp b/libraries/networking/src/udt/Socket.cpp index a7dd6377ba..a280a68716 100644 --- a/libraries/networking/src/udt/Socket.cpp +++ b/libraries/networking/src/udt/Socket.cpp @@ -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(new Connection(this, sockAddr, _ccFactory->create())))); + auto connection = std::unique_ptr(new Connection(this, sockAddr, _ccFactory->create())); + it = _connectionsHash.insert(it, std::make_pair(sockAddr, std::move(connection))); } return *it->second;