From f1ab6e2533a1bf07439b3d5918430f496158d8f3 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 6 Mar 2001 19:57:56 +0000 Subject: [PATCH] Tweaks to follow flightgear STL standard coding procedure. --- simgear/metar/MetarReport.cpp | 4 ++++ simgear/metar/MetarReport.h | 9 +++++++-- simgear/metar/MetarStation.cpp | 3 +++ simgear/metar/MetarStation.h | 12 +++++++++--- 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/simgear/metar/MetarReport.cpp b/simgear/metar/MetarReport.cpp index c8a9b5a0..159db338 100644 --- a/simgear/metar/MetarReport.cpp +++ b/simgear/metar/MetarReport.cpp @@ -1,5 +1,9 @@ // Metar report implementation class code +#include + +#include STL_IOSTREAM + #include "MetarReport.h" #include "Metar.h" diff --git a/simgear/metar/MetarReport.h b/simgear/metar/MetarReport.h index 0d5f4cd2..1d7b7857 100644 --- a/simgear/metar/MetarReport.h +++ b/simgear/metar/MetarReport.h @@ -7,12 +7,17 @@ #ifndef _MetarReport_ #define _MetarReport_ -#include -#include +#include + +#include STL_IOSTREAM +#include STL_STRING #include + #include #include +FG_USING_STD(string); + class CMetarReport { // Typedefs, enumerations diff --git a/simgear/metar/MetarStation.cpp b/simgear/metar/MetarStation.cpp index a4ac3707..e068b6b3 100644 --- a/simgear/metar/MetarStation.cpp +++ b/simgear/metar/MetarStation.cpp @@ -1,5 +1,8 @@ // Metar station implementation code +#include + +#include STL_IOSTREAM #include #include "MetarStation.h" diff --git a/simgear/metar/MetarStation.h b/simgear/metar/MetarStation.h index 54b74de1..094e7259 100644 --- a/simgear/metar/MetarStation.h +++ b/simgear/metar/MetarStation.h @@ -8,13 +8,19 @@ #ifndef _MetarStation_ #define _MetarStation_ -#include -#include +#include + +#include STL_IOSTREAM +#include STL_STRING #include #include + #include #include -//using namespace std; + +FG_USING_STD(string); +FG_USING_STD(vector); +FG_USING_STD(map); class CMetarStationDB; -- 2.39.5