mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Remove allocator argument
This commit is contained in:
@@ -21,7 +21,7 @@ struct BufferedChannelImpl @private
|
||||
Type[*] buf;
|
||||
}
|
||||
|
||||
fn void! BufferedChannel.new_init(&self, usz size = 1, Allocator allocator = allocator::heap())
|
||||
fn void! BufferedChannel.new_init(&self, usz size = 1)
|
||||
{
|
||||
return self.init(size, allocator::heap());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user