From a914ec82c315d87e6b994d6c579feb9330ffd91f Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 17 Sep 2015 14:17:43 -0700 Subject: [PATCH] more comment correctness for Socket --- libraries/networking/src/udt/Socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/networking/src/udt/Socket.cpp b/libraries/networking/src/udt/Socket.cpp index 55e807301e..3327ea9dc7 100644 --- a/libraries/networking/src/udt/Socket.cpp +++ b/libraries/networking/src/udt/Socket.cpp @@ -320,7 +320,7 @@ void Socket::rateControlSync() { auto it = _connectionsHash.find(sockAddr); if (it != _connectionsHash.end()) { - // if the connection is erased while calling sync since we are not holding an iterator that was invalidated + // if the connection is erased while calling sync since we are re-using the iterator that was invalidated // we're good to go auto& connection = _connectionsHash[sockAddr]; connection->sync();