mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
formatters/JSON: Remove surrounding_braces
This seems to have become unused 4 years ago with 9b76e8faf4
,
remove it.
This commit is contained in:
parent
6efc696179
commit
7c3b5553d8
2 changed files with 1 additions and 3 deletions
|
@ -31,9 +31,8 @@ bool JSON::NullDoubleWriter::Double(double d)
|
||||||
}
|
}
|
||||||
|
|
||||||
JSON::JSON(MsgThread* t, TimeFormat tf, bool arg_include_unset_fields)
|
JSON::JSON(MsgThread* t, TimeFormat tf, bool arg_include_unset_fields)
|
||||||
: Formatter(t), surrounding_braces(true), include_unset_fields(arg_include_unset_fields)
|
: Formatter(t), timestamps(tf), include_unset_fields(arg_include_unset_fields)
|
||||||
{
|
{
|
||||||
timestamps = tf;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
JSON::~JSON() { }
|
JSON::~JSON() { }
|
||||||
|
|
|
@ -58,7 +58,6 @@ private:
|
||||||
const std::string& name = "") const;
|
const std::string& name = "") const;
|
||||||
|
|
||||||
TimeFormat timestamps;
|
TimeFormat timestamps;
|
||||||
bool surrounding_braces;
|
|
||||||
bool include_unset_fields;
|
bool include_unset_fields;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue