Skip to content

Commit 04b6110

Browse files
Abseil Teamcopybara-github
authored andcommitted
Undo unintended inlining of absl::void_t -- the inlining didn't actually replace it with std::void_t
PiperOrigin-RevId: 898825657 Change-Id: Icd97cec5602753759608623619acd7c6fd5bc953
1 parent ea64b6e commit 04b6110

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

absl/meta/type_traits.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ struct is_detected : is_detected_impl<void, Op, Args...>::type {};
109109
// appear duplicated (and thus invalid) to the compiler prior to substitution
110110
// taking place. Whenever possible, use `std::void_t` instead.
111111
template <typename... Ts>
112-
using void_t ABSL_REFACTOR_INLINE =
113-
typename type_traits_internal::VoidTImpl<Ts...>::type;
112+
using void_t = typename type_traits_internal::VoidTImpl<Ts...>::type;
114113

115114
// Historical note: Abseil once provided implementations of these type traits
116115
// for platforms that lacked full support. New code should prefer to use the

0 commit comments

Comments
 (0)