aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Maps/MapUpdater.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-05-19 14:48:10 +0200
committerShauren <shauren.trinity@gmail.com>2014-05-19 14:48:10 +0200
commitb41de6cb38636f17d95810366bbfb593fea8acc7 (patch)
tree43f16370f7e2511c07da549e7d70e682b749147b /src/server/game/Maps/MapUpdater.cpp
parent37073a8817b62daf79234e4268a7a2d8e06470ff (diff)
Core/Misc: Removed remnants of old db threading model
Diffstat (limited to 'src/server/game/Maps/MapUpdater.cpp')
-rw-r--r--src/server/game/Maps/MapUpdater.cpp30
1 files changed, 1 insertions, 29 deletions
diff --git a/src/server/game/Maps/MapUpdater.cpp b/src/server/game/Maps/MapUpdater.cpp
index f3a5a66bf66..dd697719d54 100644
--- a/src/server/game/Maps/MapUpdater.cpp
+++ b/src/server/game/Maps/MapUpdater.cpp
@@ -6,34 +6,6 @@
#include <ace/Guard_T.h>
#include <ace/Method_Request.h>
-class WDBThreadStartReq1 : public ACE_Method_Request
-{
- public:
-
- WDBThreadStartReq1()
- {
- }
-
- virtual int call()
- {
- return 0;
- }
-};
-
-class WDBThreadEndReq1 : public ACE_Method_Request
-{
- public:
-
- WDBThreadEndReq1()
- {
- }
-
- virtual int call()
- {
- return 0;
- }
-};
-
class MapUpdateRequest : public ACE_Method_Request
{
private:
@@ -67,7 +39,7 @@ MapUpdater::~MapUpdater()
int MapUpdater::activate(size_t num_threads)
{
- return m_executor.start((int)num_threads, new WDBThreadStartReq1, new WDBThreadEndReq1);
+ return m_executor.start((int)num_threads);
}
int MapUpdater::deactivate()