Add missing include <algorithm> for std::max() and std::min()
<algorithm> was missing in src/AIModel/AIFlightPlanCreate.cxx and src/Navaids/routePath.cxx. Thanks again to Alan Teeder for the reports!
This commit is contained in:
parent
0dbb0dff9e
commit
a2254d891a
2 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <Navaids/routePath.hxx>
|
||||
|
||||
#include <simgear/structure/exception.hxx>
|
||||
|
|
Loading…
Reference in a new issue