mirror of https://github.com/aria2/aria2
Fixed compile error without message digest support.
parent
dfd214b3db
commit
33ba91fbc6
|
@ -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,
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue