Mark some destructors as virtual.

Since the classes have virtual functions.

BUG=none

Review URL: https://codereview.chromium.org/497213002

Cr-Commit-Position: refs/heads/master@{#291510}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291510 0039d316-1c4b-4281-b951-d872f2087c98
parent 26913eba
...@@ -43,7 +43,7 @@ class ByteVectorGenerator { ...@@ -43,7 +43,7 @@ class ByteVectorGenerator {
public: public:
explicit ByteVectorGenerator(size_t byte_count); explicit ByteVectorGenerator(size_t byte_count);
~ByteVectorGenerator(); virtual ~ByteVectorGenerator();
// Generates a random byte vector where the bits are independent random // Generates a random byte vector where the bits are independent random
// variables which are true with the given |probability|. // variables which are true with the given |probability|.
...@@ -80,7 +80,7 @@ class HmacByteVectorGenerator : public ByteVectorGenerator { ...@@ -80,7 +80,7 @@ class HmacByteVectorGenerator : public ByteVectorGenerator {
const std::string& entropy_input, const std::string& entropy_input,
const std::string& personalization_string); const std::string& personalization_string);
~HmacByteVectorGenerator(); virtual ~HmacByteVectorGenerator();
// Generates a random string suitable for passing to the constructor as // Generates a random string suitable for passing to the constructor as
// |entropy_input|. // |entropy_input|.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment