Add TAG_DEPRECATED in DeprecatedOptionHandler ctor

pull/89/head
Tatsuhiro Tsujikawa 2013-05-06 19:24:13 +09:00
parent 512f87f4ff
commit 4c139eb039
1 changed files with 4 additions and 1 deletions

View File

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