mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
fixup! Use string_view for a couple of Dbg methods
This commit is contained in:
parent
da7749fc43
commit
d69d0da62e
2 changed files with 3 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
//
|
||||
// Helper routines
|
||||
//
|
||||
bool string_is_regex(string_view s)
|
||||
bool string_is_regex(const string& s)
|
||||
{
|
||||
return strpbrk(s.data(), "?*\\+");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue