Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(25)

Unified Diff: src/common/test_assembler.h

Issue 399002: The end goal of this change is to boost the test coverage of breakpad in Google (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/src/
Patch Set: Fixing a comment duplication and reverting a scoped_array usage Created 12 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/common/memory_unittest.cc ('k') | src/processor/synth_minidump_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/common/test_assembler.h
===================================================================
--- src/common/test_assembler.h (revision 977)
+++ src/common/test_assembler.h (working copy)
@@ -271,8 +271,11 @@
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
// assembler's default endianness was set, this is the
« no previous file with comments | « src/common/memory_unittest.cc ('k') | src/processor/synth_minidump_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted