mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-09-02 11:08:49 +02:00
all/everything/world: removed using namespace std to be able to compile in c++17 with windows
This commit is contained in:
+2
-3
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user