mirror of
https://github.com/LibreOffice/online.git
synced 2025-07-29 12:01:08 +00:00
net: avoid unnecessary copy in checkAndReThread()
Change-Id: I7a31ded80de128c46f59db3f0cba497de2f9f96c
This commit is contained in:
@ -483,7 +483,7 @@ public:
|
||||
return; // all well
|
||||
LOG_DBG("Ununusual - SocketPoll used from a new thread");
|
||||
_owner = us;
|
||||
for (auto it : _pollSockets)
|
||||
for (const auto& it : _pollSockets)
|
||||
it->setThreadOwner(us);
|
||||
// _newSockets are adapted as they are inserted.
|
||||
}
|
||||
|
Reference in New Issue
Block a user