Skip to content

Commit bc32046

Browse files
committed
apply some review comments
1 parent f8c977c commit bc32046

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Packages/com.unity.inputsystem/InputSystem/Actions/InputActionState.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -4143,16 +4143,13 @@ public struct UnmanagedMemory : IDisposable
41434143

41444144
public ActionMapIndices* mapIndices;
41454145

4146-
// This is Anthony's version of block allocation from a blob
4147-
private byte* AllocFromBlob(ref byte* top, int size)
4146+
private static byte* AllocFromBlob(ref byte* top, int size)
41484147
{
41494148
if (size == 0)
41504149
return null;
41514150

41524151
var allocation = top;
4153-
41544152
top += size;
4155-
41564153
return allocation;
41574154
}
41584155

0 commit comments

Comments
 (0)