|
@@ -48,14 +48,11 @@
|
|
#include "a2functional.h"
|
|
#include "a2functional.h"
|
|
#include "array_fun.h"
|
|
#include "array_fun.h"
|
|
#include "OptionHandlerFactory.h"
|
|
#include "OptionHandlerFactory.h"
|
|
-#include "Logger.h"
|
|
|
|
-#include "LogFactory.h"
|
|
|
|
|
|
|
|
namespace aria2 {
|
|
namespace aria2 {
|
|
|
|
|
|
OptionParser::OptionParser():
|
|
OptionParser::OptionParser():
|
|
- _idCounter(0),
|
|
|
|
- _logger(LogFactory::getInstance())
|
|
|
|
|
|
+ _idCounter(0)
|
|
{}
|
|
{}
|
|
|
|
|
|
template<typename InputIterator>
|
|
template<typename InputIterator>
|
|
@@ -203,7 +200,6 @@ OptionHandlerHandle OptionParser::getOptionHandlerByName
|
|
handler = *i;
|
|
handler = *i;
|
|
} else {
|
|
} else {
|
|
handler.reset(new NullOptionHandler());
|
|
handler.reset(new NullOptionHandler());
|
|
- _logger->warn("Skipped unknown option --%s.", optName.c_str());
|
|
|
|
}
|
|
}
|
|
return handler;
|
|
return handler;
|
|
}
|
|
}
|