mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Enforce readonly private members where possible.
This commit is contained in:
@ -10,7 +10,7 @@ namespace osu.Game.IPC
|
||||
{
|
||||
public class BeatmapIPCChannel : IpcChannel<BeatmapImportMessage>
|
||||
{
|
||||
private BeatmapDatabase beatmaps;
|
||||
private readonly BeatmapDatabase beatmaps;
|
||||
|
||||
public BeatmapIPCChannel(IIpcHost host, BeatmapDatabase beatmaps = null)
|
||||
: base(host)
|
||||
|
@ -10,7 +10,7 @@ namespace osu.Game.IPC
|
||||
{
|
||||
public class ScoreIPCChannel : IpcChannel<ScoreImportMessage>
|
||||
{
|
||||
private ScoreDatabase scores;
|
||||
private readonly ScoreDatabase scores;
|
||||
|
||||
public ScoreIPCChannel(IIpcHost host, ScoreDatabase scores = null)
|
||||
: base(host)
|
||||
|
Reference in New Issue
Block a user