Index: snapshot/system_snapshot.h |
diff --git a/snapshot/system_snapshot.h b/snapshot/system_snapshot.h |
index 393bd271e872e62048f16d69be24dd0ef932fbc0..6dfede6870f7b62b47b6fb0db468372dd2bc30c1 100644 |
--- a/snapshot/system_snapshot.h |
+++ b/snapshot/system_snapshot.h |
@@ -29,6 +29,8 @@ namespace crashpad { |
//! other characteristics. |
class SystemSnapshot { |
public: |
+ virtual ~SystemSnapshot() {} |
+ |
//! \brief A system’s operating system family. |
enum OperatingSystem { |
//! \brief The snapshot system’s operating system is unknown. |
@@ -255,9 +257,6 @@ class SystemSnapshot { |
int* daylight_offset_seconds, |
std::string* standard_name, |
std::string* daylight_name) const = 0; |
- |
- protected: |
- ~SystemSnapshot() {} |
}; |
} // namespace crashpad |