From 4c139eb0390d065e875bec2515331aa1d555a87d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 6 May 2013 19:24:13 +0900 Subject: [PATCH] Add TAG_DEPRECATED in DeprecatedOptionHandler ctor --- src/OptionHandlerImpl.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/OptionHandlerImpl.cc b/src/OptionHandlerImpl.cc index f2edcfc3..06b4de93 100644 --- a/src/OptionHandlerImpl.cc +++ b/src/OptionHandlerImpl.cc @@ -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() {