Index: snapshot/exception_snapshot.h |
diff --git a/snapshot/exception_snapshot.h b/snapshot/exception_snapshot.h |
index 5788468a48aeadf9836f6a349343c9c320669a5e..20598332bcfd189d4cf6a197b84425b8f6dd49c9 100644 |
--- a/snapshot/exception_snapshot.h |
+++ b/snapshot/exception_snapshot.h |
@@ -27,6 +27,8 @@ struct CPUContext; |
//! snapshot process sustained and triggered the snapshot being taken. |
class ExceptionSnapshot { |
public: |
+ virtual ~ExceptionSnapshot() {} |
+ |
//! \brief Returns a CPUContext object corresponding to the exception thread’s |
//! CPU context at the time of the exception. |
//! |
@@ -86,9 +88,6 @@ class ExceptionSnapshot { |
//! and the values of `code[0]` and `code[1]` as received by a Mach exception |
//! handler. |
virtual const std::vector<uint64_t>& Codes() const = 0; |
- |
- protected: |
- ~ExceptionSnapshot() {} |
}; |
} // namespace crashpad |