From 1a157c1e5c45f627da6f964419bd849a75dbdfe1 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 14 May 2019 15:51:25 +0100 Subject: Resize the event sets to 2x the CurrentSetSize in ResizeDouble(). --- include/socketengine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/socketengine.h b/include/socketengine.h index 01afb8f91..d8d127f8b 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -298,7 +298,7 @@ class CoreExport SocketEngine static void ResizeDouble(std::vector& vect) { if (SocketEngine::CurrentSetSize > vect.size()) - vect.resize(vect.size() * 2); + vect.resize(SocketEngine::CurrentSetSize * 2); } public: -- cgit v1.2.3