mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Remove other using statements from headers
This commit is contained in:
parent
eb010290eb
commit
a525f9532e
22 changed files with 123 additions and 171 deletions
|
@ -10,7 +10,6 @@
|
|||
|
||||
#include <vector>
|
||||
|
||||
using std::vector;
|
||||
class Connection;
|
||||
|
||||
/**
|
||||
|
@ -135,7 +134,7 @@ public:
|
|||
EncapsulationStack(const EncapsulationStack& other)
|
||||
{
|
||||
if ( other.conns )
|
||||
conns = new vector<EncapsulatingConn>(*(other.conns));
|
||||
conns = new std::vector<EncapsulatingConn>(*(other.conns));
|
||||
else
|
||||
conns = 0;
|
||||
}
|
||||
|
@ -148,7 +147,7 @@ public:
|
|||
delete conns;
|
||||
|
||||
if ( other.conns )
|
||||
conns = new vector<EncapsulatingConn>(*(other.conns));
|
||||
conns = new std::vector<EncapsulatingConn>(*(other.conns));
|
||||
else
|
||||
conns = 0;
|
||||
|
||||
|
@ -165,7 +164,7 @@ public:
|
|||
void Add(const EncapsulatingConn& c)
|
||||
{
|
||||
if ( ! conns )
|
||||
conns = new vector<EncapsulatingConn>();
|
||||
conns = new std::vector<EncapsulatingConn>();
|
||||
|
||||
conns->push_back(c);
|
||||
}
|
||||
|
@ -215,5 +214,5 @@ public:
|
|||
}
|
||||
|
||||
protected:
|
||||
vector<EncapsulatingConn>* conns;
|
||||
std::vector<EncapsulatingConn>* conns;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue