Restore PocoDoc

This commit is contained in:
Francis ANDRE
2018-04-02 18:55:47 +02:00
parent 770eea8a19
commit fd8eccc0d7

View File

@@ -272,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())
{