mirror of
https://github.com/reactos/CMake.git
synced 2025-02-22 04:53:23 +00:00
cmCryptoHash: Add virtual destructor
Instances of this class are always subclasses. Use a virtual destructor to ensure the subclasses cleanup correctly.
This commit is contained in:
parent
8302608a74
commit
6495b595c4
@ -19,6 +19,7 @@
|
||||
class cmCryptoHash
|
||||
{
|
||||
public:
|
||||
virtual ~cmCryptoHash() {}
|
||||
static cmsys::auto_ptr<cmCryptoHash> New(const char* algo);
|
||||
std::string HashString(const char* input);
|
||||
std::string HashFile(const char* file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user