[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:
Haselnussbomber 2024-06-07 08:43:04 +02:00 committed by GitHub
parent 5365dd14d8
commit a32ad1b4b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View file

@ -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

View file

@ -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