You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotnet3.0/SOURCES/0002-Add-missing-constructo...

42 lines
1.3 KiB

From 0e973089c73b64dcb0423958e4f900e43a47d5a6 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Thu, 7 Dec 2023 12:54:55 +0300
Subject: [PATCH 2/2] Add missing constructor
---
.../src/inc/slist.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/inc/slist.h b/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/inc/slist.h
index f05d763dc..abebe04d4 100644
--- a/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/inc/slist.h
+++ b/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/inc/slist.h
@@ -160,13 +160,13 @@ public:
void Init()
{
LIMITED_METHOD_CONTRACT;
- m_pHead = &m_link;
+ m_pHead = PTR_SLink(&m_link);
// NOTE :: fHead variable is template argument
// the following code is a compiled in, only if the fHead flag
// is set to false,
if (!fHead)
{
- m_pTail = &m_link;
+ m_pTail = PTR_SLink(&m_link);
}
}
@@ -274,7 +274,7 @@ public:
SLink *ret = SLink::FindAndRemove(m_pHead, GetLink(pObj), &prior);
if (ret == m_pTail)
- m_pTail = prior;
+ m_pTail = PTR_SLink(prior);
return GetObject(ret);
}
--
2.43.0