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

Unified Diff: include/private/SkUniquePtr.h

Issue 1567123006: Use ::std for is_empty, is_class, add_xxx_reference, remove decay. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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 | « include/private/SkTLogic.h ('k') | src/core/SkRecord.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/private/SkUniquePtr.h
diff --git a/include/private/SkUniquePtr.h b/include/private/SkUniquePtr.h
index c68184768e31e90f6a4d75e5ca9bb5ebfaebd69c..d87ce294800ca40622c04a152ae4821563c1bf2c 100644
--- a/include/private/SkUniquePtr.h
+++ b/include/private/SkUniquePtr.h
@@ -48,7 +48,7 @@ public:
using deleter_type = D;
private:
- template <typename B, bool = is_empty<B>::value /*&& !is_final<B>::value*/>
+ template <typename B, bool = std::is_empty<B>::value /*&& !is_final<B>::value*/>
struct compressed_base : private B {
/*constexpr*/ compressed_base() : B() {}
/*constexpr*/ compressed_base(const B& b) : B(b) {}
@@ -221,7 +221,7 @@ public:
using deleter_type = D;
private:
- template <typename B, bool = is_empty<B>::value /*&& !is_final<B>::value*/>
+ template <typename B, bool = std::is_empty<B>::value /*&& !is_final<B>::value*/>
struct compressed_base : private B {
/*constexpr*/ compressed_base() : B() {}
/*constexpr*/ compressed_base(const B& b) : B(b) {}
« no previous file with comments | « include/private/SkTLogic.h ('k') | src/core/SkRecord.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698