mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Replace usage of inline proc with #force_inline proc in the core library
This commit is contained in:
+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