Remove "overloading" bug of para-poly-procs
This commit is contained in:
1 parent
3ab481df17
commit
362a118782
5 files changed
+69
-52
No files matched your search
+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