Skip to content

Commit 5975002

Browse files
authored
[libc++][NFC] Remove unused typedefs in filesystem::path helpers (#70331)
I came across those typedefs while working on another change, and I noticed they were just never used.
1 parent 178a1fe commit 5975002

File tree

1 file changed

+0
-5
lines changed
  • libcxx/include/__filesystem

1 file changed

+0
-5
lines changed

libcxx/include/__filesystem/path.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ struct __is_pathable_string<
107107
_Void<typename __can_convert_char<_ECharT>::__char_type> >
108108
: public __can_convert_char<_ECharT> {
109109
using _Str = basic_string<_ECharT, _Traits, _Alloc>;
110-
using _Base = __can_convert_char<_ECharT>;
111110

112111
_LIBCPP_HIDE_FROM_ABI
113112
static _ECharT const* __range_begin(_Str const& __s) { return __s.data(); }
@@ -129,7 +128,6 @@ struct __is_pathable_string<
129128
_Void<typename __can_convert_char<_ECharT>::__char_type> >
130129
: public __can_convert_char<_ECharT> {
131130
using _Str = basic_string_view<_ECharT, _Traits>;
132-
using _Base = __can_convert_char<_ECharT>;
133131

134132
_LIBCPP_HIDE_FROM_ABI
135133
static _ECharT const* __range_begin(_Str const& __s) { return __s.data(); }
@@ -155,8 +153,6 @@ struct __is_pathable_char_array : false_type {};
155153
template <class _Source, class _ECharT, class _UPtr>
156154
struct __is_pathable_char_array<_Source, _ECharT*, _UPtr, true>
157155
: __can_convert_char<__remove_const_t<_ECharT> > {
158-
using _Base = __can_convert_char<__remove_const_t<_ECharT> >;
159-
160156
_LIBCPP_HIDE_FROM_ABI
161157
static _ECharT const* __range_begin(const _ECharT* __b) { return __b; }
162158

@@ -185,7 +181,6 @@ struct __is_pathable_iter<
185181
typename iterator_traits<_Iter>::value_type>::__char_type> >
186182
: __can_convert_char<typename iterator_traits<_Iter>::value_type> {
187183
using _ECharT = typename iterator_traits<_Iter>::value_type;
188-
using _Base = __can_convert_char<_ECharT>;
189184

190185
_LIBCPP_HIDE_FROM_ABI
191186
static _Iter __range_begin(_Iter __b) { return __b; }

0 commit comments

Comments
 (0)