Remove "using namespace std" from header files

This commit is contained in:
Jon Siwek 2019-10-30 12:26:10 -07:00
parent 13a431f9fb
commit 62161dcc34
18 changed files with 78 additions and 85 deletions

View file

@ -47,7 +47,7 @@ public:
BroType* ReturnType() const { return return_type; }
size_t Length() const { return local.size(); }
std::map<string, ID*>& Vars() { return local; }
std::map<std::string, ID*>& Vars() { return local; }
ID* GenerateTemporary(const char* name);
@ -66,7 +66,7 @@ protected:
ID* scope_id;
attr_list* attrs;
BroType* return_type;
std::map<string, ID*> local;
std::map<std::string, ID*> local;
id_list* inits;
};
@ -90,4 +90,4 @@ extern Scope* current_scope();
extern Scope* global_scope();
// Current module (identified by its name).
extern string current_module;
extern std::string current_module;