aboutsummaryrefslogtreecommitdiff
path: root/src/common/language.h
diff options
context:
space:
mode:
authorivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-07-02 22:55:57 +0000
committerivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-07-02 22:55:57 +0000
commit5f6e1f0fe74bc01878d80531a91c39df9dfaa62a (patch)
tree4fe7140f6051191e509807d101d224763d5d6d32 /src/common/language.h
parentChange #imports that should have been #includes to #include. (diff)
downloadbreakpad-5f6e1f0fe74bc01878d80531a91c39df9dfaa62a.tar.xz
Fixing various compiler warnings and applying minor tweaks to allow running of
the mojority of breakpad unittests in Google. http://breakpad.appspot.com/399002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@978 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/language.h')
-rw-r--r--src/common/language.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/language.h b/src/common/language.h
index 4811e7f0..bbe30334 100644
--- a/src/common/language.h
+++ b/src/common/language.h
@@ -50,6 +50,10 @@ namespace google_breakpad {
// language.
class Language {
public:
+ // A base class destructor should be either public and virtual,
+ // or protected and nonvirtual.
+ virtual ~Language() {}
+
// Return true if this language has functions to which we can assign
// line numbers. (Debugging info for assembly language, for example,
// can have source location information, but does not have functions