diff options
author | Pixel <pixel@nobis-crew.org> | 2012-04-06 10:35:19 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2012-04-06 10:35:19 -0700 |
commit | c385d3ea8c6f96bbcf7d64f0a1890ab2ef5096ee (patch) | |
tree | 1f7bdc9624723afabd3fa85cf39b8ac3536050ee | |
parent | 0ffde5a99c4f1a6ea6fc9f4678e919953e48cfb8 (diff) |
Anonymizing the WinSocketStartup class.
-rw-r--r-- | src/TaskMan.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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(); } |