diff options
Diffstat (limited to 'src/common/language.h')
-rw-r--r-- | src/common/language.h | 4 |
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 |