Some more namespace hygiene for "using decl;".
This commit is contained in:
+1
-1
@@ -40,13 +40,13 @@
|
||||
#include <stdlib.h>
|
||||
#include <exception>
|
||||
|
||||
using std::string;
|
||||
|
||||
long int myatoi( const char *str );
|
||||
|
||||
class PRNG;
|
||||
|
||||
namespace Crypto {
|
||||
using std::string;
|
||||
|
||||
class CryptoException : public std::exception {
|
||||
public:
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include "dos_assert.h"
|
||||
|
||||
using namespace Network;
|
||||
using std::string;
|
||||
|
||||
string Compressor::compress_str( const string &input )
|
||||
{
|
||||
|
||||
@@ -39,11 +39,11 @@
|
||||
|
||||
#include "transportinstruction.pb.h"
|
||||
|
||||
using std::vector;
|
||||
using std::string;
|
||||
using namespace TransportBuffers;
|
||||
|
||||
namespace Network {
|
||||
using std::vector;
|
||||
using std::string;
|
||||
using namespace TransportBuffers;
|
||||
|
||||
class Fragment
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -43,11 +43,11 @@
|
||||
#include "transportfragment.h"
|
||||
#include "prng.h"
|
||||
|
||||
using std::list;
|
||||
using std::pair;
|
||||
using namespace TransportBuffers;
|
||||
|
||||
namespace Network {
|
||||
using std::list;
|
||||
using std::pair;
|
||||
using namespace TransportBuffers;
|
||||
|
||||
/* timing parameters */
|
||||
const int SEND_INTERVAL_MIN = 20; /* ms between frames */
|
||||
const int SEND_INTERVAL_MAX = 250; /* ms between frames */
|
||||
|
||||
@@ -40,11 +40,11 @@
|
||||
|
||||
#include "parseraction.h"
|
||||
|
||||
using std::deque;
|
||||
using std::list;
|
||||
using std::string;
|
||||
|
||||
namespace Network {
|
||||
using std::deque;
|
||||
using std::list;
|
||||
using std::string;
|
||||
|
||||
enum UserEventType {
|
||||
UserByteType = 0,
|
||||
ResizeType = 1
|
||||
|
||||
Reference in New Issue
Block a user