Remove 'using namespace std' from SerialTypes.h

This unfortunately cuases a ton of flow-down changes because a lot of other
code was depending on that definition existing. This has a fairly large chance
to break builds of external plugins, considering how many internal ones it broke.
This commit is contained in:
Tim Wojtulewicz 2020-04-07 15:45:20 -07:00
parent a525f9532e
commit d53c1454c0
119 changed files with 402 additions and 383 deletions

View file

@ -11,6 +11,7 @@
#include "SQLite.h"
#include "sqlite.bif.h"
using namespace std;
using namespace logging;
using namespace writer;
using threading::Value;

View file

@ -37,7 +37,7 @@ private:
bool checkError(int code);
int AddParams(threading::Value* val, int pos);
string GetTableType(int, int);
std::string GetTableType(int, int);
const threading::Field* const * fields; // raw mapping
unsigned int num_fields;
@ -45,9 +45,9 @@ private:
sqlite3 *db;
sqlite3_stmt *st;
string set_separator;
string unset_field;
string empty_field;
std::string set_separator;
std::string unset_field;
std::string empty_field;
threading::formatter::Ascii* io;
};