mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Bump pre-commit hooks
This commit is contained in:
parent
f5a76c1aed
commit
26d04fd9fc
13 changed files with 22 additions and 19 deletions
|
@ -113,7 +113,7 @@ public:
|
|||
if ( key_size <= 8 ) {
|
||||
memcpy(key_here, arg_key, key_size);
|
||||
if ( ! copy_key )
|
||||
delete[](char*) arg_key; // own the arg_key, now don't need it.
|
||||
delete[] (char*)arg_key; // own the arg_key, now don't need it.
|
||||
}
|
||||
else {
|
||||
if ( copy_key ) {
|
||||
|
@ -584,7 +584,7 @@ public:
|
|||
v = table[position].value;
|
||||
table[position].value = val;
|
||||
if ( ! copy_key )
|
||||
delete[](char*) key;
|
||||
delete[] (char*)key;
|
||||
|
||||
if ( iterators && ! iterators->empty() )
|
||||
// need to set new v for iterators too.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue