mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Fix compile errors possible on some platforms.
Include <algorithm> in some sources that require it; addresses #430 Places where STL's min() template function could get used with arguments of differing types can fail to deduce the right template type. These are fixed with some type tweaking of local variables and also giving an explicit template argument for good measure.
This commit is contained in:
parent
cde6076857
commit
35b7caf44f
3 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "LogMgr.h"
|
||||
#include "Event.h"
|
||||
#include "EventHandler.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue