X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Flogger.cxx;h=95e0a5dbe0bc950210c5559ad17611e7b9fbe5b3;hb=18d1593c42c2df60d7fb44ace722ca3e8a7fd82c;hp=47187c6239efb154a368c18c24940bbf6b87e86c;hpb=906d070f68ebe381a95e326d0ccfd113598a78ce;p=flightgear.git diff --git a/src/Main/logger.cxx b/src/Main/logger.cxx index 47187c623..95e0a5dbe 100644 --- a/src/Main/logger.cxx +++ b/src/Main/logger.cxx @@ -3,20 +3,21 @@ // // This file is in the Public Domain, and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include "logger.hxx" -#include STL_FSTREAM +#include #include -SG_USING_STD(ofstream); -SG_USING_STD(endl); -SG_USING_STD(string); - #include #include "fg_props.hxx" - +using std::string; +using std::endl; //////////////////////////////////////////////////////////////////////// // Implementation of FGLogger @@ -72,7 +73,7 @@ FGLogger::init () // // Process the individual entries (Time is automatic). // - vector entries = child->getChildren("entry"); + std::vector entries = child->getChildren("entry"); (*log.output) << "Time"; for (unsigned int j = 0; j < entries.size(); j++) { SGPropertyNode * entry = entries[j];