From c385d3ea8c6f96bbcf7d64f0a1890ab2ef5096ee Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 6 Apr 2012 10:35:19 -0700 Subject: Anonymizing the WinSocketStartup class. --- src/TaskMan.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/TaskMan.cc b/src/TaskMan.cc index 463cb0a..e663873 100644 --- a/src/TaskMan.cc +++ b/src/TaskMan.cc @@ -152,6 +152,8 @@ Balau::TaskMan::TaskMan() : m_stopped(false), m_allowedToSignal(false), m_stopCo } #ifdef _WIN32 +namespace { + class WinSocketStartup : public Balau::AtStart { public: WinSocketStartup() : AtStart(5) { } @@ -163,6 +165,8 @@ class WinSocketStartup : public Balau::AtStart { }; static WinSocketStartup wsa; + +}; #endif Balau::TaskMan * Balau::TaskMan::getDefaultTaskMan() { return localTaskMan.get(); } -- cgit v1.2.3