mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
efficiency fix - return a reference rather than a copy of a map
This commit is contained in:
parent
55b2ce7dbc
commit
8e77e3e92c
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ public:
|
|||
// Returns a mapping of from Attr objects to their associated
|
||||
// initialization information. The Attr must have previously
|
||||
// been registered.
|
||||
auto ProcessedAttr() { return processed_attr; }
|
||||
auto& ProcessedAttr() { return processed_attr; }
|
||||
|
||||
// True if the given expression is simple enough that we can
|
||||
// generate code to evaluate it directly, and don't need to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue