]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/util.cxx
Remove conditional compilation of ATCDCL
[flightgear.git] / src / Main / util.cxx
index 3ba719688cdfa1a478460defe1d01b97e7d13aea..7c20530a36e5b59e6e92c0611ac00c2b5ed439cf 100644 (file)
@@ -25,7 +25,7 @@
 #include <cstdlib>
 
 #include <vector>
-SG_USING_STD(vector);
+using std::vector;
 
 #include <simgear/debug/logstream.hxx>
 
@@ -105,19 +105,6 @@ fgSetupWind (double min_hdg, double max_hdg, double speed, double gust)
               speed);
 }
 
-
-void
-fgExit (int status)
-{
-#ifdef OSG_LIBRARY_STATIC
-    osgDB::Registry::instance( true);
-#endif
-
-    SG_LOG(SG_GENERAL, SG_INFO, "Exiting FlightGear with status " << status);
-    std::exit(status);
-}
-
-
 // Originally written by Alex Perry.
 double
 fgGetLowPass (double current, double target, double timeratio)