mirror of https://github.com/aria2/aria2
Add TAG_DEPRECATED in DeprecatedOptionHandler ctor
parent
512f87f4ff
commit
4c139eb039
|
@ -60,6 +60,7 @@
|
||||||
#include "uri.h"
|
#include "uri.h"
|
||||||
#include "SegList.h"
|
#include "SegList.h"
|
||||||
#include "array_fun.h"
|
#include "array_fun.h"
|
||||||
|
#include "help_tags.h"
|
||||||
#ifdef ENABLE_MESSAGE_DIGEST
|
#ifdef ENABLE_MESSAGE_DIGEST
|
||||||
# include "MessageDigest.h"
|
# include "MessageDigest.h"
|
||||||
#endif // ENABLE_MESSAGE_DIGEST
|
#endif // ENABLE_MESSAGE_DIGEST
|
||||||
|
@ -623,7 +624,9 @@ DeprecatedOptionHandler::DeprecatedOptionHandler
|
||||||
(OptionHandler* depOptHandler,
|
(OptionHandler* depOptHandler,
|
||||||
const OptionHandler* repOptHandler)
|
const OptionHandler* repOptHandler)
|
||||||
: depOptHandler_(depOptHandler), repOptHandler_(repOptHandler)
|
: depOptHandler_(depOptHandler), repOptHandler_(repOptHandler)
|
||||||
{}
|
{
|
||||||
|
depOptHandler_->addTag(TAG_DEPRECATED);
|
||||||
|
}
|
||||||
|
|
||||||
DeprecatedOptionHandler::~DeprecatedOptionHandler()
|
DeprecatedOptionHandler::~DeprecatedOptionHandler()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue