summaryrefslogtreecommitdiffstats
path: root/base/template_util.h
diff options
context:
space:
mode:
authorvmpstr <vmpstr@chromium.org>2015-11-30 12:15:17 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-30 20:15:58 +0000
commit98a2fada78e6b57558c492cd889a12d0ba87636c (patch)
tree6b3d64fa6b5bc952c59aa322bac16e4735c905d1 /base/template_util.h
parent702144379eeca6e4d25a593be7677ab1eb3baf62 (diff)
downloadchromium_src-98a2fada78e6b57558c492cd889a12d0ba87636c.zip
chromium_src-98a2fada78e6b57558c492cd889a12d0ba87636c.tar.gz
chromium_src-98a2fada78e6b57558c492cd889a12d0ba87636c.tar.bz2
Remove base::enable_if
This patch removes base::enable_if in favor of std::enable_if R=thakis@chromium.org Review URL: https://codereview.chromium.org/1475233002 Cr-Commit-Position: refs/heads/master@{#362206}
Diffstat (limited to 'base/template_util.h')
-rw-r--r--base/template_util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/base/template_util.h b/base/template_util.h
index 83fa322..6d4ac9f 100644
--- a/base/template_util.h
+++ b/base/template_util.h
@@ -117,12 +117,6 @@ struct is_class
sizeof(internal::YesType)> {
};
-template<bool B, class T = void>
-struct enable_if {};
-
-template<class T>
-struct enable_if<true, T> { typedef T type; };
-
} // namespace base
#endif // BASE_TEMPLATE_UTIL_H_