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

Unified Diff: Source/wtf/text/WTFString.h

Issue 402193002: Remove the user-defined empty WTF::String destructor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 5 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/text/WTFString.h
diff --git a/Source/wtf/text/WTFString.h b/Source/wtf/text/WTFString.h
index a73e9bfbb66d786d1dd7a27701c7c21890ce703c..cd81ad4338d636b70c6d2bc000013472871da282 100644
--- a/Source/wtf/text/WTFString.h
+++ b/Source/wtf/text/WTFString.h
@@ -132,9 +132,6 @@ public:
String& operator=(String&& other) { m_impl = other.m_impl.release(); return *this; }
#endif
- // Inline the destructor.
- ALWAYS_INLINE ~String() { }
-
void swap(String& o) { m_impl.swap(o.m_impl); }
template<typename CharType>
« 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