[Server] Remove commented code

pull/249/merge
Koncord 8 years ago
parent 653db9e266
commit f015c3b2f6

@ -22,7 +22,6 @@ namespace mwmp
static bool Process(RakNet::Packet &packet, BaseActorList &actorList) noexcept;
static void AddProcessor(ActorProcessor *processor) noexcept;
//typedef boost::unordered_map<unsigned char, boost::shared_ptr<ActorProcessor> > processors_t;
typedef std::unordered_map<unsigned char, std::unique_ptr<ActorProcessor> > processors_t;
private:
static processors_t processors;

@ -10,8 +10,6 @@
#include <components/openmw-mp/NetworkMessages.hpp>
#include <unordered_map>
#include <memory>
//#include <boost/unordered_map.hpp>
//#include <boost/shared_ptr.hpp>
#include "Player.hpp"
namespace mwmp
@ -25,7 +23,6 @@ namespace mwmp
static bool Process(RakNet::Packet &packet) noexcept;
static void AddProcessor(PlayerProcessor *processor) noexcept;
//typedef boost::unordered_map<unsigned char, boost::shared_ptr<PlayerProcessor> > processors_t;
typedef std::unordered_map<unsigned char, std::unique_ptr<PlayerProcessor> > processors_t;
private:
static processors_t processors;

@ -14,8 +14,6 @@
#include <memory>
#include "Script/Script.hpp"
#include "Player.hpp"
//#include <boost/unordered_map.hpp>
//#include <boost/shared_ptr.hpp>
namespace mwmp
{
@ -28,7 +26,6 @@ namespace mwmp
static bool Process(RakNet::Packet &packet, BaseEvent &event) noexcept;
static void AddProcessor(WorldProcessor *processor) noexcept;
//typedef boost::unordered_map<unsigned char, boost::shared_ptr<WorldProcessor> > processors_t;
typedef std::unordered_map<unsigned char, std::unique_ptr<WorldProcessor> > processors_t;
private:
static processors_t processors;

Loading…
Cancel
Save