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

Unified Diff: Source/wtf/TypeTraits.h

Issue 1129793005: Replace OwnPtr with WTF::Optional for optional recorders. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge with master Created 5 years, 7 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
Index: Source/wtf/TypeTraits.h
diff --git a/Source/wtf/TypeTraits.h b/Source/wtf/TypeTraits.h
index 4946ef5d39e9f631a72c43393362b7804fd0f0c2..1a08a6c461abdf17f652caa40bfaef15178a75c2 100644
--- a/Source/wtf/TypeTraits.h
+++ b/Source/wtf/TypeTraits.h
@@ -276,6 +276,10 @@ namespace WTF {
typedef T Type;
};
+ template <typename T> struct RemoveReference<T&&> {
+ typedef T Type;
+ };
+
template <typename T> struct RemoveExtent {
typedef T Type;
};

Powered by Google App Engine
This is Rietveld 408576698