Fixed compile error without message digest support.

pull/2/head
Tatsuhiro Tsujikawa 2011-10-25 21:59:10 +09:00
parent dfd214b3db
commit 33ba91fbc6
2 changed files with 4 additions and 0 deletions

View File

@ -349,6 +349,7 @@ std::string IndexOutOptionHandler::createPossibleValuesString() const
return "INDEX=PATH";
}
#ifdef ENABLE_MESSAGE_DIGEST
ChecksumOptionHandler::ChecksumOptionHandler
(const Pref* pref,
const std::string& description,
@ -375,6 +376,7 @@ std::string ChecksumOptionHandler::createPossibleValuesString() const
{
return "HASH_TYPE=HEX_DIGEST";
}
#endif // ENABLE_MESSAGE_DIGEST
ParameterOptionHandler::ParameterOptionHandler
(const Pref* pref,

View File

@ -161,6 +161,7 @@ public:
virtual std::string createPossibleValuesString() const;
};
#ifdef ENABLE_MESSAGE_DIGEST
class ChecksumOptionHandler : public AbstractOptionHandler {
public:
ChecksumOptionHandler(const Pref* pref,
@ -170,6 +171,7 @@ public:
virtual void parseArg(Option& option, const std::string& optarg);
virtual std::string createPossibleValuesString() const;
};
#endif // ENABLE_MESSAGE_DIGEST
class ParameterOptionHandler : public AbstractOptionHandler {
private: