Index: minidump/minidump_writable.h |
diff --git a/minidump/minidump_writable.h b/minidump/minidump_writable.h |
index cfababf95ab105f6b4657d3aa887da828650a0a1..fb34ea2826e6a77b637d827eaefd4a046ec4d0f5 100644 |
--- a/minidump/minidump_writable.h |
+++ b/minidump/minidump_writable.h |
@@ -32,6 +32,8 @@ namespace internal { |
//! file. |
class MinidumpWritable { |
public: |
+ virtual ~MinidumpWritable(); |
+ |
//! \brief Writes an object and all of its children to a minidump file. |
//! |
//! Use this on the root object of a tree of MinidumpWritable objects, |
@@ -134,13 +136,6 @@ class MinidumpWritable { |
MinidumpWritable(); |
- // This doesn’t really need to be virtual because nothing ever deletes a |
- // MinidumpWritable* through an interface pointer with that type, and this is |
- // guaranteed by being protected. Regardless, the style guide is somewhat |
- // insistent. |
- // http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Inheritance |
- virtual ~MinidumpWritable(); |
- |
//! \brief The state of the object. |
State state() const { return state_; } |