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