all/everything/world: removed using namespace std to be able to compile in c++17 with windows

This commit is contained in:
Gwenhael Goavec-Merou
2026-03-18 15:28:34 +01:00
parent 40491463bf
commit 9b1c568659
42 changed files with 418 additions and 467 deletions
+2 -3
View File
@@ -18,12 +18,11 @@
#include <winsock2.h>
#endif
using namespace std;
#define display(...) \
do { if (_verbose) fprintf(stdout, __VA_ARGS__);} while(0)
BitParser::BitParser(const string &filename, bool reverseOrder, bool verbose):
BitParser::BitParser(const std::string &filename, bool reverseOrder, bool verbose):
ConfigBitstreamParser(filename, ConfigBitstreamParser::BIN_MODE,
verbose), _reverseOrder(reverseOrder)
{
@@ -38,7 +37,7 @@ int BitParser::parseHeader()
int pos_data = 0;
int ret = 1;
short length;
string tmp;
std::string tmp;
int pos, prev_pos;
/* Field 1 : misc header */