Fix a few other minor issues reported by Coverity

This commit is contained in:
Tim Wojtulewicz 2025-07-21 15:27:32 -07:00
parent d22810e476
commit 64bca5ce4c
3 changed files with 2 additions and 4 deletions

View file

@ -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.