mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add ODesc::Size() that returns size_t, deprecate ODesc::Len()
This commit is contained in:
parent
6e2a18ce4f
commit
7a5209855f
12 changed files with 47 additions and 45 deletions
|
@ -345,7 +345,7 @@ void do_print_stmt(const std::vector<ValPtr>& vals) {
|
|||
d.SetStyle(style);
|
||||
|
||||
describe_vals(vals, &d, offset);
|
||||
f->Write(d.Description(), d.Len());
|
||||
f->Write(d.Description(), d.Size());
|
||||
}
|
||||
else {
|
||||
ODesc d(DESC_READABLE, f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue