X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Flogger.cxx;h=95e0a5dbe0bc950210c5559ad17611e7b9fbe5b3;hb=224afcc7e4cb4191be15f3df025164fcd83f5102;hp=71ee3f5546c7801be888b1fdbebb3b49d1aae742;hpb=667e64e1ebc86a0c53112b92b53475898f315c36;p=flightgear.git diff --git a/src/Main/logger.cxx b/src/Main/logger.cxx index 71ee3f554..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 #include -using std::ofstream; -using std::endl; -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];