AppleMD: Add destructors to make compilers happy

pull/69/head
Nils Maier 2013-04-10 08:50:46 +02:00
parent b35fbd3172
commit b874c7df11
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ template<size_t dlen,
class MessageDigestBase : public MessageDigestImpl {
public:
MessageDigestBase() { reset(); }
virtual ~MessageDigestBase() {}
virtual size_t getDigestLength() const {
return dlen;

View File

@ -45,6 +45,7 @@ namespace aria2 {
class MessageDigestImpl {
public:
virtual ~MessageDigestImpl() {}
static SharedHandle<MessageDigestImpl> sha1();
static SharedHandle<MessageDigestImpl> create(const std::string& hashType);