Replace usage of inline proc with #force_inline proc in the core library
This commit is contained in:
1 parent
41b854f192
commit
aa93305015
26 files changed
+182
-182
No files matched your search
+1
-1
@@ -76,7 +76,7 @@ duration_hours :: proc(d: Duration) -> f64 {
|
||||
return f64(hour) + f64(nsec)/(60*60*1e9);
|
||||
}
|
||||
|
||||
_less_than_half :: inline proc(x, y: Duration) -> bool {
|
||||
_less_than_half :: #force_inline proc(x, y: Duration) -> bool {
|
||||
return u64(x)+u64(x) < u64(y);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user