Some more namespace hygiene for "using decl;".
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user