mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Reformat the world
This commit is contained in:
parent
194cb24547
commit
b2f171ec69
714 changed files with 35149 additions and 35203 deletions
|
@ -1,12 +1,14 @@
|
|||
#include "zeek/zeek-config.h"
|
||||
#include "zeek/IntSet.h"
|
||||
|
||||
#include "zeek/zeek-config.h"
|
||||
|
||||
#ifdef HAVE_MEMORY_H
|
||||
#include <memory.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
namespace zeek::detail {
|
||||
namespace zeek::detail
|
||||
{
|
||||
|
||||
void IntSet::Expand(unsigned int i)
|
||||
{
|
||||
|
@ -16,9 +18,9 @@ void IntSet::Expand(unsigned int i)
|
|||
memset(newset, 0, newsize);
|
||||
memcpy(newset, set, size);
|
||||
|
||||
delete [] set;
|
||||
delete[] set;
|
||||
size = newsize;
|
||||
set = newset;
|
||||
}
|
||||
|
||||
} // namespace zeek::detail
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue