diff options
author | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-07-02 22:55:57 +0000 |
---|---|---|
committer | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-07-02 22:55:57 +0000 |
commit | 5f6e1f0fe74bc01878d80531a91c39df9dfaa62a (patch) | |
tree | 4fe7140f6051191e509807d101d224763d5d6d32 /src/common/test_assembler.h | |
parent | Change #imports that should have been #includes to #include. (diff) | |
download | breakpad-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/test_assembler.h')
-rw-r--r-- | src/common/test_assembler.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/test_assembler.h b/src/common/test_assembler.h index 401e8528..891cf677 100644 --- a/src/common/test_assembler.h +++ b/src/common/test_assembler.h @@ -271,7 +271,10 @@ class Section { public: Section(Endianness endianness = kUnsetEndian) : endianness_(endianness) { }; - ~Section() { }; + + // A base class destructor should be either public and virtual, + // or protected and nonvirtual. + virtual ~Section() { }; // Set the default endianness of this section to ENDIANNESS. This // sets the behavior of the D<N> appending functions. If the |