mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
util: pass string_view to without_bropath_component()
This commit is contained in:
parent
0548e1255f
commit
98241bbc60
2 changed files with 7 additions and 6 deletions
|
@ -353,7 +353,7 @@ std::string normalize_path(std::string_view path);
|
|||
* @param path A file/directory path that may be within a ZEEKPATH component.
|
||||
* @return *path* minus the common ZEEKPATH component (if any) removed.
|
||||
*/
|
||||
std::string without_bropath_component(const std::string& path);
|
||||
std::string without_bropath_component(std::string_view path);
|
||||
|
||||
/**
|
||||
* Locate a file within a given search path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue