mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
[apiX] Throw on invalid ImRaii Style type in release builds (#1828)
* Throw on invalid ImRaii Style type in release builds * Throw on invalid ImRaii PlotStyle type in release builds
This commit is contained in:
parent
5365dd14d8
commit
a32ad1b4b9
2 changed files with 0 additions and 2 deletions
|
|
@ -83,7 +83,6 @@ public static partial class ImRaii
|
|||
|
||||
private int count;
|
||||
|
||||
[System.Diagnostics.Conditional("DEBUG")]
|
||||
private static void CheckStyleIdx(ImPlotStyleVar idx, Type type)
|
||||
{
|
||||
var shouldThrow = idx switch
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ public static partial class ImRaii
|
|||
|
||||
private int count;
|
||||
|
||||
[System.Diagnostics.Conditional("DEBUG")]
|
||||
private static void CheckStyleIdx(ImGuiStyleVar idx, Type type)
|
||||
{
|
||||
var shouldThrow = idx switch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue