Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2431)

Unified Diff: Source/wtf/MemoryInstrumentation.h

Issue 13824006: Make a metaprogramming hack more C++11-compatible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/MemoryInstrumentation.h
diff --git a/Source/wtf/MemoryInstrumentation.h b/Source/wtf/MemoryInstrumentation.h
index a16982120d7c815139179327a4b46433e7f7e712..462bfb12d8cb24d65367e75c253b5fe0cbb2c896 100644
--- a/Source/wtf/MemoryInstrumentation.h
+++ b/Source/wtf/MemoryInstrumentation.h
@@ -138,7 +138,9 @@ private:
#pragma warning(push)
#pragma warning(disable: 4624) // Disable warning: destructor could not be generated because a base class destructor is inaccessible.
#endif
- struct Base : public Type, public BaseMixin { };
+ struct Base : public Type, public BaseMixin {
+ ~Base() {}
+ };
#if COMPILER(MSVC)
#pragma warning(pop)
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698