mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Remove all of the random single-file deprecations
These are the changes that don't require a ton of changes to other files outside of the original removal.
This commit is contained in:
parent
7e9d89db0a
commit
0618be792f
270 changed files with 36 additions and 4632 deletions
10
src/File.h
10
src/File.h
|
@ -45,9 +45,6 @@ public:
|
|||
|
||||
void SetBuf(bool buffered); // false=line buffered, true=fully buffered
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetType().")]]
|
||||
Type* FType() const { return t.get(); }
|
||||
|
||||
const TypePtr& GetType() const
|
||||
{ return t; }
|
||||
|
||||
|
@ -76,9 +73,6 @@ public:
|
|||
|
||||
// Get the file with the given name, opening it if it doesn't yet exist.
|
||||
static FilePtr Get(const char* name);
|
||||
[[deprecated("Remove in v4.1. Use File::Get().")]]
|
||||
static File* GetFile(const char* name)
|
||||
{ return Get(name).release(); }
|
||||
|
||||
void EnableRawOutput() { raw_output = true; }
|
||||
bool IsRawOutput() const { return raw_output; }
|
||||
|
@ -125,7 +119,3 @@ private:
|
|||
};
|
||||
|
||||
} // namespace zeek
|
||||
|
||||
using BroType [[deprecated("Remove in v4.1. Use zeek::Type instead.")]] = zeek::Type;
|
||||
using BroFile [[deprecated("Remove in v4.1. Use zeek::File instead.")]] = zeek::File;
|
||||
using BroFilePtr [[deprecated("Remove in v4.1. Use zeek::FilePtr instead.")]] = zeek::FilePtr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue