From 53f461449ff996884087910b97ec4509a558b070 Mon Sep 17 00:00:00 2001 From: Adeel Mujahid <3840695+am11@users.noreply.github.com> Date: Fri, 28 Jun 2024 18:03:55 +0300 Subject: [PATCH] Move protected member check in the class (#104118) --- src/coreclr/inc/iterator.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/coreclr/inc/iterator.h b/src/coreclr/inc/iterator.h index df50ca948eed0..887544c6bc642 100644 --- a/src/coreclr/inc/iterator.h +++ b/src/coreclr/inc/iterator.h @@ -203,11 +203,10 @@ class IndexerBasePrototype }; }; -DEFINE_MEMBER_EXISTENCE_CHECK(m_revision); - template class CheckedIteratorBase { + DEFINE_MEMBER_EXISTENCE_CHECK(m_revision); protected: #if defined(_DEBUG) const CONTAINER *m_container;