mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Base: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the common and base classes.
This commit is contained in:
parent
9f802b2a4d
commit
fe0c22c789
240 changed files with 6823 additions and 6787 deletions
10
src/Obj.h
10
src/Obj.h
|
@ -21,7 +21,7 @@ public:
|
|||
|
||||
Location() = default;
|
||||
|
||||
void Describe(zeek::ODesc* d) const;
|
||||
void Describe(ODesc* d) const;
|
||||
|
||||
bool operator==(const Location& l) const;
|
||||
bool operator!=(const Location& l) const
|
||||
|
@ -105,9 +105,9 @@ public:
|
|||
[[noreturn]] void Internal(const char* msg) const;
|
||||
void InternalWarning(const char* msg) const;
|
||||
|
||||
virtual void Describe(zeek::ODesc* d) const { /* FIXME: Add code */ };
|
||||
virtual void Describe(ODesc* d) const { /* FIXME: Add code */ };
|
||||
|
||||
void AddLocation(zeek::ODesc* d) const;
|
||||
void AddLocation(ODesc* d) const;
|
||||
|
||||
// Get location info for debugging.
|
||||
const detail::Location* GetLocationInfo() const
|
||||
|
@ -144,9 +144,9 @@ protected:
|
|||
private:
|
||||
friend class SuppressErrors;
|
||||
|
||||
void DoMsg(zeek::ODesc* d, const char s1[], const Obj* obj2 = nullptr,
|
||||
void DoMsg(ODesc* d, const char s1[], const Obj* obj2 = nullptr,
|
||||
bool pinpoint_only = false, const detail::Location* expr_location = nullptr) const;
|
||||
void PinPoint(zeek::ODesc* d, const Obj* obj2 = nullptr,
|
||||
void PinPoint(ODesc* d, const Obj* obj2 = nullptr,
|
||||
bool pinpoint_only = false) const;
|
||||
|
||||
friend inline void Ref(Obj* o);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue