X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATCDCL%2Fatis.hxx;h=60335e18561d5d810bfcf14a01a5f8a360bae4f2;hb=1df8130bddbbc3bc590c37c31f5256470f839cfb;hp=05835d4a7975503a1873b3b56dd5099da19bacf5;hpb=aacebaf4b8f101dbad17f20e5136f50cd6991a6f;p=flightgear.git diff --git a/src/ATCDCL/atis.hxx b/src/ATCDCL/atis.hxx index 05835d4a7..60335e185 100644 --- a/src/ATCDCL/atis.hxx +++ b/src/ATCDCL/atis.hxx @@ -32,18 +32,7 @@ #include #include -#ifdef SG_HAVE_STD_INCLUDES -# include -# include -#elif defined( __BORLANDC__ ) || (__APPLE__) -# include -#else -# include -# include -#endif - -SG_USING_STD(istream); -SG_USING_STD(string); +# include #include "ATC.hxx" @@ -53,12 +42,12 @@ SG_USING_STD(string); class FGATIS : public FGATC { //atc_type type; - string transmission; // The actual ATIS transmission + std::string transmission; // The actual ATIS transmission // This is not stored in default.atis but is generated // from the prevailing conditions when required. // for failure modeling - string trans_ident; // transmitted ident + std::string trans_ident; // transmitted ident bool atis_failed; // atis failed? // Aircraft position @@ -79,17 +68,17 @@ class FGATIS : public FGATC { void Update(double dt); //inline void set_type(const atc_type tp) {type = tp;} - inline const string& get_trans_ident() { return trans_ident; } - inline void set_refname(const string& r) { refname = r; } + inline const std::string& get_trans_ident() { return trans_ident; } + inline void set_refname(const std::string& r) { refname = r; } private: - string refname; // Holds the refname of a transmission in progress + std::string refname; // Holds the refname of a transmission in progress //Update the transmission string void UpdateTransmission(void); - friend istream& operator>> ( istream&, FGATIS& ); + friend std::istream& operator>> ( std::istream&, FGATIS& ); }; #endif // _FG_ATIS_HXX