Use 'new' expression in places where the type is evident for content (#2590)
* Content.Client * Content.Benchmarks * Content.IntegrationTests * Content.Server * Content.Server.Database * Content.Shared * Content.Tests * Merge fixes Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Content.Client
|
||||
{
|
||||
internal class ScreenshotHook : IScreenshotHook
|
||||
{
|
||||
private static readonly ResourcePath BaseScreenshotPath = new ResourcePath("/Screenshots");
|
||||
private static readonly ResourcePath BaseScreenshotPath = new("/Screenshots");
|
||||
|
||||
[Dependency] private readonly IInputManager _inputManager = default;
|
||||
[Dependency] private readonly IClyde _clyde = default;
|
||||
|
||||
Reference in New Issue
Block a user