Add -no-dynamic-literals to disallow dynamic array and map literals
This commit is contained in:
1 parent
b2beb9512f
commit
7ae54ae3b4
5 files changed
+46
-25
No files matched your search
@@ -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