mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Avoid unnecessary type names in return statements
This commit is contained in:
parent
4957dace64
commit
de13bb6361
12 changed files with 35 additions and 36 deletions
|
@ -203,7 +203,7 @@ std::string Specific_RE_Matcher::LookupDef(const std::string& def)
|
|||
if ( iter != defs.end() )
|
||||
return iter->second;
|
||||
|
||||
return std::string();
|
||||
return {};
|
||||
}
|
||||
|
||||
bool Specific_RE_Matcher::MatchAll(const char* s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue