mirror of
https://github.com/aria2/aria2.git
synced 2026-04-02 18:59:20 +00:00
Add TAG_DEPRECATED in DeprecatedOptionHandler ctor
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user