This commit is contained in:
SOUHARDYA TOLA 2025-12-03 14:01:25 +01:00 committed by GitHub
commit b290d9c5bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -290,7 +290,7 @@ public:
template <typename T> template <typename T>
I_Filtered_iterator (T* p) : I_Filtered_iterator (T* p) :
nt (pointer(p)), nt (reinterpret_cast<pointer>(p)),
iend (nt) iend (nt)
{} {}
@ -314,7 +314,7 @@ public:
template <typename P> template <typename P>
I_Filtered_iterator& operator= (const P* p) I_Filtered_iterator& operator= (const P* p)
{ {
nt = pointer(p); nt = reinterpret_cast<pointer>(p);
iend =nt; iend =nt;
return *this; return *this;
} }
@ -455,7 +455,7 @@ public:
template <typename T> template <typename T>
I_Filtered_const_iterator (T* p) : I_Filtered_const_iterator (T* p) :
nt (pointer(p)), nt (reinterpret_cast<pointer>(p)),
iend (nt) iend (nt)
{} {}
@ -488,7 +488,7 @@ public:
template <typename P> template <typename P>
I_Filtered_const_iterator& operator= (const P* p) I_Filtered_const_iterator& operator= (const P* p)
{ {
nt = pointer(p); nt = reinterpret_cast<pointer>(p);
iend =nt; iend =nt;
return *this; return *this;
} }