From 5f6e1f0fe74bc01878d80531a91c39df9dfaa62a Mon Sep 17 00:00:00 2001 From: "ivan.penkov@gmail.com" Date: Mon, 2 Jul 2012 22:55:57 +0000 Subject: 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 --- src/common/language.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common/language.h') 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 -- cgit v1.2.1