Mark the parameter as non-nullable.

This commit is contained in:
為什麼
2022-07-09 21:07:47 +08:00
parent 086388ec4e
commit 8fcc33936c
3 changed files with 7 additions and 7 deletions

View File

@ -15,9 +15,9 @@ namespace osu.Game.Benchmarks
{
public class BenchmarkRealmReads : BenchmarkTest
{
private TemporaryNativeStorage storage;
private RealmAccess realm;
private UpdateThread updateThread;
private TemporaryNativeStorage storage = null!;
private RealmAccess realm = null!;
private UpdateThread updateThread = null!;
[Params(1, 100, 1000)]
public int ReadsPerFetch { get; set; }