[ADT] Use std::add_pointer_t (NFC)

This commit is contained in:
Kazu Hirata 2022-09-03 23:27:18 -07:00
parent 9dc6223117
commit 230e57d221
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ using ValueOfRange = typename std::remove_reference<decltype(
//===----------------------------------------------------------------------===//
template <typename T> struct make_const_ptr {
using type = typename std::add_pointer<std::add_const_t<T>>::type;
using type = std::add_pointer_t<std::add_const_t<T>>;
};
template <typename T> struct make_const_ref {