Skip to content

Commit

Permalink
Why would you put an attribute inside an ifdef like that, god.
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 committed Jul 15, 2023
1 parent bce2901 commit 3c262af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Robust.Shared/Log/ConsoleLogHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Text;
using System.Text.Unicode;
using System.Timers;
using JetBrains.Annotations;
using Serilog.Events;
using TerraFX.Interop.Windows;

Expand Down Expand Up @@ -84,9 +85,7 @@ public ConsoleLogHandler()
};
}

#if DEBUG
[UsedImplicitly]
#endif
public static void TryDetachFromConsoleWindow()
{
if (OperatingSystem.IsWindows())
Expand Down

0 comments on commit 3c262af

Please sign in to comment.