remove "using namespace std" from headers

It's nasty, and actually breaks on Solaris, where if.h fails to
build due to:

  struct map *if_memmap;
This commit is contained in:
moneromooo-monero 2017-10-10 15:47:08 +01:00
parent 4754390725
commit 383ff4f689
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
24 changed files with 47 additions and 51 deletions

View file

@ -34,12 +34,8 @@
#include "include_base_utils.h"
#include "version.h"
using namespace epee;
#include <iostream>
#include <sstream>
using namespace std;
#include <boost/program_options.hpp>
@ -56,6 +52,8 @@ using namespace std;
#endif
namespace po = boost::program_options;
using namespace std;
using namespace epee;
using namespace cryptonote;
using namespace crypto;

View file

@ -47,6 +47,7 @@
using namespace std;
using namespace epee;
using namespace crypto;
using namespace cryptonote;

View file

@ -38,6 +38,7 @@
#include "ringct/rctSigs.h"
#include "ringct/rctOps.h"
using namespace std;
using namespace crypto;
using namespace rct;

View file

@ -49,6 +49,7 @@
#include "gtest/gtest.h"
#include "unit_tests_utils.h"
using namespace std;
using namespace crypto;
struct Struct
{