summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2012-04-06 10:35:19 -0700
committerPixel <pixel@nobis-crew.org>2012-04-06 10:35:19 -0700
commitc385d3ea8c6f96bbcf7d64f0a1890ab2ef5096ee (patch)
tree1f7bdc9624723afabd3fa85cf39b8ac3536050ee
parent0ffde5a99c4f1a6ea6fc9f4678e919953e48cfb8 (diff)
Anonymizing the WinSocketStartup class.
-rw-r--r--src/TaskMan.cc4
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(); }