mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 04:38:16 +00:00
Remove "overloading" bug of para-poly-procs
This commit is contained in:
+1
-1
@@ -264,7 +264,7 @@ proc resize(ptr: rawptr, old_size, new_size: int, alignment: int = DEFAULT_ALIGN
|
||||
}
|
||||
|
||||
|
||||
proc new(T: type) -> ^T {
|
||||
proc new(T: type) -> ^T #inline {
|
||||
return ^T(alloc(size_of(T), align_of(T)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user