Skip to content

Commit

Permalink
Fix naming issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dušan Baran committed Jul 4, 2023
1 parent dd2953c commit 9d10e00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/bits/unique_ptr.h
Original file line number Diff line number Diff line change
Expand Up @@ -482,13 +482,13 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
__uniq_ptr_data<_Tp, _Dp> _M_t;

template<typename _Up>
using __remove_cv = typename remove_cv<_Up>::type;
using __remove_cv_t = typename remove_cv<_Up>::type;

// like is_base_of<_Tp, _Up> but false if unqualified types are the same
template<typename _Up>
using __is_derived_Tp
= __and_< is_base_of<_Tp, _Up>,
__not_<is_same<__remove_cv<_Tp>, __remove_cv<_Up>>> >;
__not_<is_same<__remove_cv_t<_Tp>, __remove_cv_t<_Up>>> >;

public:
using pointer = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
Expand Down

0 comments on commit 9d10e00

Please sign in to comment.