diff options
author | Peter Powell <petpow@saberuk.com> | 2019-05-14 15:51:25 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-05-14 16:28:11 +0100 |
commit | 1a157c1e5c45f627da6f964419bd849a75dbdfe1 (patch) | |
tree | 60e7ba6d85ab6097a5a78d6a8ecab7a84f8a81f7 | |
parent | 5dda6401e5f7ed7479454b372fbee07f94047fcf (diff) |
Resize the event sets to 2x the CurrentSetSize in ResizeDouble().
-rw-r--r-- | include/socketengine.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<T>& vect) { if (SocketEngine::CurrentSetSize > vect.size()) - vect.resize(vect.size() * 2); + vect.resize(SocketEngine::CurrentSetSize * 2); } public: |