Skip to content

Commit 2289b7a

Browse files
committed
Remove #caller_location from certain calls in core:container/small_array
1 parent d10d547 commit 2289b7a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

core/container/small_array/small_array.odin

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ slice :: proc(a: ^$A/Small_Array($N, $T)) -> []T {
2525
}
2626

2727

28-
get :: proc(a: $A/Small_Array($N, $T), index: int, loc := #caller_location) -> T {
28+
get :: proc(a: $A/Small_Array($N, $T), index: int) -> T {
2929
return a.data[index]
3030
}
31-
get_ptr :: proc(a: $A/Small_Array($N, $T), index: int, loc := #caller_location) -> ^T {
31+
get_ptr :: proc(a: ^$A/Small_Array($N, $T), index: int) -> ^T {
3232
return &a.data[index]
3333
}
3434

35-
set :: proc(a: ^$A/Small_Array($N, $T), index: int, item: T, loc := #caller_location) {
35+
set :: proc(a: ^$A/Small_Array($N, $T), index: int, item: T) {
3636
a.data[index] = item
3737
}
3838

0 commit comments

Comments
 (0)