1
0
Fork 0

Tests: fix compilation

This commit is contained in:
James Turner 2023-07-21 16:26:34 +01:00
parent 26530e27ea
commit 3ac7673236
6 changed files with 10 additions and 1 deletions

View file

@ -20,6 +20,10 @@
#include "NavDataCache.hxx"
#include <iostream>
#include <simgear/timing/timestamp.hxx>
#include <Navaids/NavDataCache.hxx>

View file

@ -49,7 +49,7 @@ void SimgearPropsTests::testAliasLeak()
// Aliased node.
alias = tree->getNode("test-alias", true);
alias->alias("test-node");
alias->alias("test-node", false);
}
void SimgearPropsTests::testPropsCopyIf()

View file

@ -37,6 +37,7 @@
#include <Instrumentation/gps.hxx>
#include <Autopilot/route_mgr.hxx>
#include <Main/globals.hxx>
using namespace flightgear;

View file

@ -44,6 +44,7 @@
#include <Navaids/fix.hxx>
#include <Airports/airport.hxx>
#include <Main/globals.hxx>
using namespace std::string_literals;
using namespace flightgear;

View file

@ -17,6 +17,8 @@
#include <Airports/airport.hxx>
#include <Autopilot/route_mgr.hxx>
#include <Main/globals.hxx>
using namespace flightgear;
static bool static_haveProcedures = false;

View file

@ -19,6 +19,7 @@
#include <Navaids/navlist.hxx>
#include <Navaids/routePath.hxx>
#include <Main/globals.hxx>
// we need a default GPS instrument, hard to test seperately for now
#include <Instrumentation/gps.hxx>