Replace usage of inline proc with #force_inline proc in the core library

This commit is contained in:
gingerBill
2021-02-23 16:14:47 +00:00
parent 41b854f192
commit aa93305015
26 changed files with 182 additions and 182 deletions
+1 -1
View File
@@ -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);
}