Add TAG_DEPRECATED in DeprecatedOptionHandler ctor

This commit is contained in:
Tatsuhiro Tsujikawa 2013-05-06 19:24:13 +09:00
parent 512f87f4ff
commit 4c139eb039

View File

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