Skip to content

Commit

Permalink
Merge pull request #30335 from peppy/expose-noop-ctors
Browse files Browse the repository at this point in the history
Expose no-op constructors as `protected`
  • Loading branch information
bdach authored Oct 18, 2024
2 parents 3bcd6b9 + 8193038 commit 7ba17b9
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 7ba17b9

Please sign in to comment.