1
0
Fork 0

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:
Florent Rougon 2017-11-16 11:20:24 +01:00
parent fc084f4f1b
commit e68e73d252
2 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,8 @@
# include "config.h"
#endif
#include <algorithm>
#include <cmath>
#include <simgear/constants.h>

View file

@ -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"