Use json::emplace to avoid some extra calls to operator[]

This commit is contained in:
Tim Wojtulewicz 2019-09-25 16:12:50 -07:00
parent c8f2d52d91
commit d4d1009b5c
4 changed files with 12 additions and 12 deletions

View file

@ -122,4 +122,8 @@ event zeek_init()
print to_json(ta3);
print to_json(ta4);
print to_json(ta5, T);
# Opaque
local o1: opaque of topk = topk_init(5);
print to_json(o1);
}