Index: snapshot/process_snapshot.h |
diff --git a/snapshot/process_snapshot.h b/snapshot/process_snapshot.h |
index 5138f83bc96eb1b9ac0a18de548b0cbfb779d90d..3fe317fa1f5517b082ccdabeb0a819833412d429 100644 |
--- a/snapshot/process_snapshot.h |
+++ b/snapshot/process_snapshot.h |
@@ -38,6 +38,8 @@ class ThreadSnapshot; |
//! objects corresponding to thread stacks. |
class ProcessSnapshot { |
public: |
+ virtual ~ProcessSnapshot() {} |
+ |
//! \brief Returns the snapshot process’ process ID. |
virtual pid_t ProcessID() const = 0; |
@@ -106,9 +108,6 @@ class ProcessSnapshot { |
//! object that it was obtained from. If the snapshot is not a result of |
//! an exception, returns `nullptr`. |
virtual const ExceptionSnapshot* Exception() const = 0; |
- |
- protected: |
- ~ProcessSnapshot() {} |
}; |
} // namespace crashpad |