mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
Allow nullable host in DesktopStorage ctor
The base `NativeStorage` is null-tolerant anyways.
This was relied on in a game-side usage:
511451770c/osu.Game.Tournament/IPC/FileBasedIPC.cs (L67)
This commit is contained in:
@@ -5,7 +5,7 @@ namespace osu.Framework.Platform
|
||||
{
|
||||
public class DesktopStorage : NativeStorage
|
||||
{
|
||||
public DesktopStorage(string path, DesktopGameHost host)
|
||||
public DesktopStorage(string path, DesktopGameHost? host)
|
||||
: base(path, host)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user