Update PocoDoc/src/*

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>
This commit is contained in:
Francis ANDRE 2018-03-12 07:30:50 +01:00
parent a7b2804e21
commit 745bcbc167
2 changed files with 7 additions and 8 deletions

View File

@ -252,6 +252,9 @@ protected:
Environment::set("PATH", path);
}
logger().debug("exec " + exec);
logger().debug("path " + path);
if (usePipe)
{
Poco::Pipe inPipe;
@ -269,11 +272,7 @@ protected:
void parse(const std::string& file)
{
logger().information("Preprocessing " + file);
#ifndef POCO_ENABLE_CPP11
std::auto_ptr<Preprocessor> pPreProc(preprocess(file));
#else
std::unique_ptr<Preprocessor> pPreProc(preprocess(file));
#endif // POCO_ENABLE_CPP11
logger().information("Parsing " + file);
if (pPreProc->stream().good())
{