Merge remote-tracking branch 'origin/topic/timw/776-using-statements'

* origin/topic/timw/776-using-statements:
  Remove 'using namespace std' from SerialTypes.h
  Remove other using statements from headers
  GH-776: Remove using statements added by PR 770

Includes small fixes in files that changed since the merge request was
made.

Also includes a few small indentation fixes.
This commit is contained in:
Johanna Amann 2020-04-09 13:11:12 -07:00
commit 876c803d75
147 changed files with 553 additions and 579 deletions

View file

@ -2,6 +2,12 @@
#pragma once
#include <memory>
#include <string>
#include <vector>
#include <utility>
#include <optional>
#include "BroList.h"
#include "IntrusivePtr.h"
#include "Timer.h"
@ -11,14 +17,6 @@
#include "Val.h"
#include "ZeekArgs.h"
#include <memory>
#include <string>
#include <vector>
#include <utility>
#include <optional>
using std::string;
enum BroExprTag : int {
EXPR_ANY = -1,
EXPR_NAME, EXPR_CONST,
@ -683,7 +681,7 @@ public:
protected:
void ExprDescribe(ODesc* d) const override;
string field_name;
std::string field_name;
};
class ArithCoerceExpr final : public UnaryExpr {
@ -843,7 +841,7 @@ public:
protected:
void ExprDescribe(ODesc* d) const override;
string name;
std::string name;
EventHandlerPtr handler;
IntrusivePtr<ListExpr> args;
};