From 4bb67fc85b116f3743397a77f00dcb583e1ea848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Tue, 9 Jan 2024 00:00:17 +0100 Subject: [PATCH] Replace Span with ReadOnly Span --- src/Lynx/Model/Move.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lynx/Model/Move.cs b/src/Lynx/Model/Move.cs index 3cb6526b9..f05cf274e 100644 --- a/src/Lynx/Model/Move.cs +++ b/src/Lynx/Model/Move.cs @@ -121,7 +121,7 @@ bool predicate(Move m) /// /// /// - public static bool TryParseFromUCIString(ReadOnlySpan UCIString, Span moveList, [NotNullWhen(true)] out Move? move) + public static bool TryParseFromUCIString(ReadOnlySpan UCIString, ReadOnlySpan moveList, [NotNullWhen(true)] out Move? move) { Utils.Assert(UCIString.Length == 4 || UCIString.Length == 5);