mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Fix a few other minor issues reported by Coverity
This commit is contained in:
parent
d22810e476
commit
64bca5ce4c
3 changed files with 2 additions and 4 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
ScriptProfileStats& operator=(ScriptProfileStats&&) = default;
|
||||
ScriptProfileStats& operator=(const ScriptProfileStats&) = default;
|
||||
|
||||
const auto Name() const { return name; }
|
||||
const auto& Name() const { return name; }
|
||||
|
||||
// Number of instances included in an aggregate (like for "all BiFs").
|
||||
// This is 1 for non-aggregates.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue