Skip to content

Commit

Permalink
Move protected member check in the class (#104118)
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Jun 28, 2024
1 parent fcc2f58 commit 53f4614
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/coreclr/inc/iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,10 @@ class IndexerBasePrototype
};
};

DEFINE_MEMBER_EXISTENCE_CHECK(m_revision);

template <typename CONTAINER>
class CheckedIteratorBase
{
DEFINE_MEMBER_EXISTENCE_CHECK(m_revision);
protected:
#if defined(_DEBUG)
const CONTAINER *m_container;
Expand Down

0 comments on commit 53f4614

Please sign in to comment.