aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/Containers.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-04-08 19:15:16 +0200
committerOvahlord <dreadkiller@gmx.de>2025-04-08 19:57:45 +0200
commit4aa991e7e4450232df4ceda0b2f439bccce1d260 (patch)
tree6ba65344105e100dd29da50cb667a53c465252a7 /src/common/Utilities/Containers.h
parenta28b2999b1b500185aeecf343c3b1e14a39c26cf (diff)
Core/Network: Socket refactors
* Devirtualize calls to Read and Update by marking concrete implementations as final * Removed derived class template argument * Specialize boost::asio::basic_stream_socket for boost::asio::io_context instead of type-erased any_io_executor * Make socket initialization easier composable (before entering Read loop) * Remove use of deprecated boost::asio::null_buffers and boost::beast::ssl_stream (cherry picked from commit e8b2be3527c7683e8bfca70ed7706fc20da566fd)
Diffstat (limited to 'src/common/Utilities/Containers.h')
-rw-r--r--src/common/Utilities/Containers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Utilities/Containers.h b/src/common/Utilities/Containers.h
index 4a764629937..11928fa053d 100644
--- a/src/common/Utilities/Containers.h
+++ b/src/common/Utilities/Containers.h
@@ -259,7 +259,7 @@ namespace Trinity
if (!p(*rpos))
{
if (rpos != wpos)
- std::swap(*rpos, *wpos);
+ std::ranges::swap(*rpos, *wpos);
++wpos;
}
}