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

Unified Diff: third_party/crashpad/crashpad/compat/non_cxx11_lib/type_traits

Issue 1774443002: Replace template_util.h stuff with C++11 <type_traits> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert unrelated whitespace change Created 4 years, 9 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 | « third_party/crashpad/README.chromium ('k') | third_party/crashpad/crashpad/util/win/process_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/crashpad/crashpad/compat/non_cxx11_lib/type_traits
diff --git a/third_party/crashpad/crashpad/compat/non_cxx11_lib/type_traits b/third_party/crashpad/crashpad/compat/non_cxx11_lib/type_traits
index 9f11fd4a8a234d2649494f74cd8c15060e1d6c5c..e56c220a20bfedd9f5ac5eccfbe3250aef6b7c4b 100644
--- a/third_party/crashpad/crashpad/compat/non_cxx11_lib/type_traits
+++ b/third_party/crashpad/crashpad/compat/non_cxx11_lib/type_traits
@@ -30,6 +30,11 @@ struct remove_reference { using type = T; };
template <class T>
struct remove_reference<T&> { using type = T; };
+template <typename T, typename S>
+struct is_same { enum { value = false }; };
+template <typename T>
+struct is_same<T, T> { enum { value = true }; };
+
} // namespace std
#endif // CXX_LIBRARY_VERSION
« no previous file with comments | « third_party/crashpad/README.chromium ('k') | third_party/crashpad/crashpad/util/win/process_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698