]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/logger.hxx
Interim windows build fix
[flightgear.git] / src / Main / logger.hxx
index d9ffb73c3212dd069220a460d8141fcea5b99b21..3d2146a83ec9fa7e00182da6babfcf465255c58b 100644 (file)
@@ -6,27 +6,13 @@
 #ifndef __LOGGER_HXX
 #define __LOGGER_HXX 1
 
-#ifndef __cplusplus
-# error This library requires C++
-#endif
-
-#ifdef HAVE_CONFIG_H
-#  include <config.h>
-#endif
-
-#include <ostream>
+#include <iosfwd>
 #include <vector>
 
 #include <simgear/compiler.h>
-#include <simgear/debug/logstream.hxx>
-#include <simgear/structure/exception.hxx>
 #include <simgear/structure/subsystem_mgr.hxx>
 #include <simgear/props/props.hxx>
 
-SG_USING_STD(ostream);
-SG_USING_STD(vector);
-
-
 /**
  * Log any property values to any number of CSV files.
  */
@@ -59,7 +45,7 @@ private:
     char delimiter;
   };
 
-  std::vector<Log> _logs;
+  std::vector<Log *> _logs;
 
 };