Skip to content

Commit

Permalink
Expose no-op constructors as protected
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Oct 18, 2024
1 parent 3bcd6b9 commit 8193038
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion osu.Game/Beatmaps/BeatmapInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public BeatmapInfo(RulesetInfo? ruleset = null, BeatmapDifficulty? difficulty =
}

[UsedImplicitly]
private BeatmapInfo()
protected BeatmapInfo()
{
}

Expand Down
2 changes: 1 addition & 1 deletion osu.Game/Scoring/ScoreInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public ScoreInfo(BeatmapInfo? beatmap = null, RulesetInfo? ruleset = null, Realm
}

[UsedImplicitly] // Realm
private ScoreInfo()
protected ScoreInfo()
{
}

Expand Down

0 comments on commit 8193038

Please sign in to comment.