Skip to content

Commit 476600d

Browse files
authored
fix Dictionary
1 parent 5cbcae9 commit 476600d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

UnityResolve.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,7 +2037,7 @@ class UnityResolve final {
20372037
TKey tKey = { 0 };
20382038

20392039
Entry* pEntry = GetEntry();
2040-
if (pEntry) tKey = pEntry[iIndex].m_tKey;
2040+
if (pEntry) tKey = pEntry[iIndex].tKey;
20412041

20422042
return tKey;
20432043
}
@@ -2046,14 +2046,14 @@ class UnityResolve final {
20462046
TValue tValue = { 0 };
20472047

20482048
Entry* pEntry = GetEntry();
2049-
if (pEntry) tValue = pEntry[iIndex].m_tValue;
2049+
if (pEntry) tValue = pEntry[iIndex].tValue;
20502050

20512051
return tValue;
20522052
}
20532053

20542054
auto GetValueByKey(const TKey tKey) -> TValue {
20552055
TValue tValue = { 0 };
2056-
for (auto i = 0; i < iCount; i++) if (GetEntry()[i].m_tKey == tKey) tValue = GetEntry()[i].m_tValue;
2056+
for (auto i = 0; i < iCount; i++) if (GetEntry()[i].tKey == tKey) tValue = GetEntry()[i].tValue;
20572057
return tValue;
20582058
}
20592059

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy