From 02111e75159c2d106f3364d46e4def614bbeb1fb Mon Sep 17 00:00:00 2001 From: "WP. Yingamphol" <145095511+peperronii@users.noreply.github.com> Date: Tue, 15 Jul 2025 09:28:38 +0700 Subject: [PATCH] no #optional_allocator_error Co-authored-by: Laytan --- core/thread/thread.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/thread/thread.odin b/core/thread/thread.odin index ef207a015..6a5f78156 100644 --- a/core/thread/thread.odin +++ b/core/thread/thread.odin @@ -162,7 +162,7 @@ If thread is nil the procedure will get the name of the calling thread. allocates memory for the returned string using provided allocator. */ -get_name :: proc(thread: ^Thread, allocator := context.allocator, loc := #caller_location) -> (string, runtime.Allocator_Error) #optional_allocator_error { +get_name :: proc(thread: ^Thread, allocator := context.allocator, loc := #caller_location) -> (string, runtime.Allocator_Error) { return _get_name(thread, allocator, loc) }