1
0
Fork 0

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:
Florent Rougon 2017-11-16 12:54:49 +01:00
parent 0dbb0dff9e
commit a2254d891a
2 changed files with 4 additions and 0 deletions

View file

@ -22,6 +22,8 @@
# include <config.h> # include <config.h>
#endif #endif
#include <algorithm>
#include <cstdlib> #include <cstdlib>
#include <cstdio> #include <cstdio>

View file

@ -3,6 +3,8 @@
# include "config.h" # include "config.h"
#endif #endif
#include <algorithm>
#include <Navaids/routePath.hxx> #include <Navaids/routePath.hxx>
#include <simgear/structure/exception.hxx> #include <simgear/structure/exception.hxx>