Chromium Code Reviews

Unified Diff: include/core/SkTArray.h

Issue 1259143006: Remove unnecessary virtual destructor on SkTArray (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« 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: include/core/SkTArray.h
diff --git a/include/core/SkTArray.h b/include/core/SkTArray.h
index a035f6e9afb3aa96690b41c7c57cb2473f4b196c..4bf1d70c6bf69cfbcf7f4544125a58f7714bbc81 100644
--- a/include/core/SkTArray.h
+++ b/include/core/SkTArray.h
@@ -107,7 +107,7 @@ public:
return *this;
}
- virtual ~SkTArray() {
+ ~SkTArray() {
for (int i = 0; i < fCount; ++i) {
fItemArray[i].~T();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine