mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Remove 'using namespace std' from SerialTypes.h
This unfortunately cuases a ton of flow-down changes because a lot of other code was depending on that definition existing. This has a fairly large chance to break builds of external plugins, considering how many internal ones it broke.
This commit is contained in:
parent
a525f9532e
commit
d53c1454c0
119 changed files with 402 additions and 383 deletions
|
@ -38,7 +38,7 @@ const std::vector<std::string>& PktSrcComponent::Prefixes() const
|
|||
return prefixes;
|
||||
}
|
||||
|
||||
bool PktSrcComponent::HandlesPrefix(const string& prefix) const
|
||||
bool PktSrcComponent::HandlesPrefix(const std::string& prefix) const
|
||||
{
|
||||
for ( std::vector<std::string>::const_iterator i = prefixes.begin();
|
||||
i != prefixes.end(); i++ )
|
||||
|
@ -69,7 +69,7 @@ void PktSrcComponent::DoDescribe(ODesc* d) const
|
|||
{
|
||||
iosource::Component::DoDescribe(d);
|
||||
|
||||
string prefs;
|
||||
std::string prefs;
|
||||
|
||||
for ( std::vector<std::string>::const_iterator i = prefixes.begin();
|
||||
i != prefixes.end(); i++ )
|
||||
|
@ -128,7 +128,7 @@ const std::vector<std::string>& PktDumperComponent::Prefixes() const
|
|||
return prefixes;
|
||||
}
|
||||
|
||||
bool PktDumperComponent::HandlesPrefix(const string& prefix) const
|
||||
bool PktDumperComponent::HandlesPrefix(const std::string& prefix) const
|
||||
{
|
||||
for ( std::vector<std::string>::const_iterator i = prefixes.begin();
|
||||
i != prefixes.end(); i++ )
|
||||
|
@ -144,7 +144,7 @@ void PktDumperComponent::DoDescribe(ODesc* d) const
|
|||
{
|
||||
plugin::Component::DoDescribe(d);
|
||||
|
||||
string prefs;
|
||||
std::string prefs;
|
||||
|
||||
for ( std::vector<std::string>::const_iterator i = prefixes.begin();
|
||||
i != prefixes.end(); i++ )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue