mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Fixing a few cases of undefined behaviour introduced by recent
formatter work. Thanks, Coverity!
This commit is contained in:
parent
17f9d0a47d
commit
8b241947d6
7 changed files with 21 additions and 15 deletions
|
@ -76,7 +76,7 @@ public:
|
|||
* @return The new value, or null on error. Errors must also be
|
||||
* flagged via the thread.
|
||||
*/
|
||||
virtual threading::Value* ParseValue(string s, string name, TypeTag type, TypeTag subtype = TYPE_ERROR) const = 0;
|
||||
virtual threading::Value* ParseValue(const string& s, const string& name, TypeTag type, TypeTag subtype = TYPE_ERROR) const = 0;
|
||||
|
||||
/**
|
||||
* Convert an IP address into a string.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue