mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-27 18:00:05 +00:00
Add -no-dynamic-literals to disallow dynamic array and map literals
This commit is contained in:
@@ -17,7 +17,7 @@ Thread_Priority :: enum {
|
||||
High,
|
||||
}
|
||||
|
||||
_thread_priority_map := map[Thread_Priority]i32{
|
||||
_thread_priority_map := [Thread_Priority]i32{
|
||||
.Normal = 0,
|
||||
.Low = -2,
|
||||
.High = +2,
|
||||
|
||||
Reference in New Issue
Block a user