Skip to content

Commit 3a7fb87

Browse files
committed
Update EnsureCacheForTypes to use a HashSet.
1 parent ac2142f commit 3a7fb87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MixedRealityToolkit.SDK/Features/UX/Interactable/Scripts/TypeResolution/InteractableTypeFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private static List<InteractableType> GetTypesFromCache(List<Type> types)
7474
/// </remarks>
7575
private static void EnsureCacheForTypes(List<Type> types, TypeRestriction typeRestriction)
7676
{
77-
List<Type> cacheMisses = new List<Type>();
77+
HashSet<Type> cacheMisses = new HashSet<Type>();
7878
foreach (Type type in types)
7979
{
8080
if (!cache.ContainsKey(type))

0 commit comments

Comments
 (0)