Add missing include <algorithm> for std::max()
<algorithm> was missing in src/Instrumentation/airspeed_indicator.cxx and src/Instrumentation/tacan.cxx. Thanks to Alan Teeder for the reports.
This commit is contained in:
parent
fc084f4f1b
commit
e68e73d252
2 changed files with 5 additions and 1 deletions
|
@ -8,6 +8,8 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include <simgear/constants.h>
|
||||
|
|
|
@ -7,13 +7,15 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
#include <simgear/math/sg_geodesy.hxx>
|
||||
#include <simgear/math/sg_random.h>
|
||||
|
||||
#include <Main/fg_props.hxx>
|
||||
#include <Navaids/navlist.hxx>
|
||||
#include <vector>
|
||||
|
||||
#include "tacan.hxx"
|
||||
|
||||
|
|
Loading…
Reference in a new issue