Index: snapshot/module_snapshot.h |
diff --git a/snapshot/module_snapshot.h b/snapshot/module_snapshot.h |
index b7e2770782ce128de5b5a988e5b3164cb2455438..ef2a9c1f0c485d8b6f9b8004fb7233f05662c4ca 100644 |
--- a/snapshot/module_snapshot.h |
+++ b/snapshot/module_snapshot.h |
@@ -30,6 +30,8 @@ namespace crashpad { |
//! (binary image) loaded into a snapshot process. |
class ModuleSnapshot { |
public: |
+ virtual ~ModuleSnapshot() {} |
+ |
//! \brief A module’s type. |
enum ModuleType { |
//! \brief The module’s type is unknown. |
@@ -145,9 +147,6 @@ class ModuleSnapshot { |
//! The annotations returned by this method do not duplicate those returned by |
//! AnnotationsVector(). |
virtual std::map<std::string, std::string> AnnotationsSimpleMap() const = 0; |
- |
- protected: |
- ~ModuleSnapshot() {} |
}; |
} // namespace crashpad |