summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/socketengine.h2
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: