aboutsummaryrefslogtreecommitdiff
path: root/core/debug/trace/trace_cpp.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-06-29 19:23:58 +0100
committergingerBill <bill@gingerbill.org>2024-06-29 19:23:58 +0100
commit103eccf104ca99d5a60ff0d7a141787d6bda88e0 (patch)
tree5bd152dd712c84790f5fab8ff0cc3022f920a3c1 /core/debug/trace/trace_cpp.odin
parent663661db53719b1a7797a3772f5a227405c5ca98 (diff)
More style improvements
Diffstat (limited to 'core/debug/trace/trace_cpp.odin')
-rw-r--r--core/debug/trace/trace_cpp.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/debug/trace/trace_cpp.odin b/core/debug/trace/trace_cpp.odin
index 894046c45..dc723184a 100644
--- a/core/debug/trace/trace_cpp.odin
+++ b/core/debug/trace/trace_cpp.odin
@@ -78,7 +78,7 @@ _Context :: struct {
@(private="package")
_init :: proc(ctx: ^Context) -> (ok: bool) {
- defer if !ok do destroy(ctx)
+ defer if !ok { destroy(ctx) }
ctx.impl.state = backtrace_create_state("odin-debug-trace", 1, nil, ctx)
return ctx.impl.state != nil