Do not globally use namespace std.
This commit is contained in:
@@ -28,6 +28,16 @@
|
||||
#include <direct.h>
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <cstdlib>
|
||||
#include <fstream>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
class QtToolsWrapper;
|
||||
|
||||
|
||||
|
||||
+3
-13
@@ -21,21 +21,11 @@
|
||||
#define CONFIGFILE_H
|
||||
|
||||
#include "tinyxml.h"
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <cstdlib>
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string>
|
||||
|
||||
#include <boost/shared_ptr.hpp>
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
||||
enum ConfigState { NONEXISTING, OLD };
|
||||
enum ConfigType { CONFIG_TYPE_INT, CONFIG_TYPE_STRING };
|
||||
|
||||
@@ -68,8 +58,8 @@ private:
|
||||
std::string defaultValue;
|
||||
};
|
||||
|
||||
vector<ConfigInfo> configList;
|
||||
vector<ConfigInfo> configBufferList;
|
||||
std::vector<ConfigInfo> configList;
|
||||
std::vector<ConfigInfo> configBufferList;
|
||||
|
||||
std::string configFileName;
|
||||
std::string logDir;
|
||||
|
||||
Reference in New Issue
Block a user