Remove 'using namespaces std' fixes #61

This commit is contained in:
Michael Cook
2013-05-22 16:17:19 -04:00
parent 312100e1c6
commit 0fdfe025cb
190 changed files with 1801 additions and 2004 deletions
+4 -5
View File
@@ -24,7 +24,6 @@
#include <string>
#include <list>
using namespace std;
class NPC;
class Client;
@@ -274,9 +273,9 @@ protected:
class QuestTimer {
public:
inline QuestTimer(int duration, Mob *_mob, string _name) : mob(_mob), name(_name), Timer_(duration) { Timer_.Start(duration, false); }
inline QuestTimer(int duration, Mob *_mob, std::string _name) : mob(_mob), name(_name), Timer_(duration) { Timer_.Start(duration, false); }
Mob* mob;
string name;
std::string name;
Timer Timer_;
};
class SignalTimer {
@@ -286,8 +285,8 @@ protected:
int signal_id;
Timer Timer_;
};
list<QuestTimer> QTimerList;
list<SignalTimer> STimerList;
std::list<QuestTimer> QTimerList;
std::list<SignalTimer> STimerList;
};