Public ImRaii end objects

This commit is contained in:
Haselnussbomber 2025-10-22 07:16:13 +02:00
parent 116e8aadbc
commit 8ed21b4645
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1

View file

@ -242,7 +242,7 @@ public static partial class ImRaii
// Use end-function regardless of success. // Use end-function regardless of success.
// Used by Child, Group and Tooltip. // Used by Child, Group and Tooltip.
private struct EndUnconditionally : IEndObject public struct EndUnconditionally : IEndObject
{ {
private Action EndAction { get; } private Action EndAction { get; }
@ -268,7 +268,7 @@ public static partial class ImRaii
} }
// Use end-function only on success. // Use end-function only on success.
private struct EndConditionally : IEndObject public struct EndConditionally : IEndObject
{ {
public EndConditionally(Action endAction, bool success) public EndConditionally(Action endAction, bool success)
{ {