mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Change file_analysis::File::GetID() to return const-ref
This commit is contained in:
parent
8a3cd4c65b
commit
27c3c207e4
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ public:
|
|||
/**
|
||||
* @return value of the "id" field from #val record.
|
||||
*/
|
||||
std::string GetID() const { return id; }
|
||||
const std::string& GetID() const { return id; }
|
||||
|
||||
/**
|
||||
* @return value of "last_active" field in #val record;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue