forked from mirror/openmw-tes3mp
[Server] Remove commented code
This commit is contained in:
parent
653db9e266
commit
f015c3b2f6
3 changed files with 0 additions and 7 deletions
|
@ -22,7 +22,6 @@ namespace mwmp
|
||||||
static bool Process(RakNet::Packet &packet, BaseActorList &actorList) noexcept;
|
static bool Process(RakNet::Packet &packet, BaseActorList &actorList) noexcept;
|
||||||
static void AddProcessor(ActorProcessor *processor) 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;
|
typedef std::unordered_map<unsigned char, std::unique_ptr<ActorProcessor> > processors_t;
|
||||||
private:
|
private:
|
||||||
static processors_t processors;
|
static processors_t processors;
|
||||||
|
|
|
@ -10,8 +10,6 @@
|
||||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
//#include <boost/unordered_map.hpp>
|
|
||||||
//#include <boost/shared_ptr.hpp>
|
|
||||||
#include "Player.hpp"
|
#include "Player.hpp"
|
||||||
|
|
||||||
namespace mwmp
|
namespace mwmp
|
||||||
|
@ -25,7 +23,6 @@ namespace mwmp
|
||||||
static bool Process(RakNet::Packet &packet) noexcept;
|
static bool Process(RakNet::Packet &packet) noexcept;
|
||||||
static void AddProcessor(PlayerProcessor *processor) 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;
|
typedef std::unordered_map<unsigned char, std::unique_ptr<PlayerProcessor> > processors_t;
|
||||||
private:
|
private:
|
||||||
static processors_t processors;
|
static processors_t processors;
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include "Script/Script.hpp"
|
#include "Script/Script.hpp"
|
||||||
#include "Player.hpp"
|
#include "Player.hpp"
|
||||||
//#include <boost/unordered_map.hpp>
|
|
||||||
//#include <boost/shared_ptr.hpp>
|
|
||||||
|
|
||||||
namespace mwmp
|
namespace mwmp
|
||||||
{
|
{
|
||||||
|
@ -28,7 +26,6 @@ namespace mwmp
|
||||||
static bool Process(RakNet::Packet &packet, BaseEvent &event) noexcept;
|
static bool Process(RakNet::Packet &packet, BaseEvent &event) noexcept;
|
||||||
static void AddProcessor(WorldProcessor *processor) 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;
|
typedef std::unordered_map<unsigned char, std::unique_ptr<WorldProcessor> > processors_t;
|
||||||
private:
|
private:
|
||||||
static processors_t processors;
|
static processors_t processors;
|
||||||
|
|
Loading…
Reference in a new issue