mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: re-apply C++ support
This commit is contained in:
@ -16,6 +16,8 @@ pub fn new_builder(initial_size int) Builder {
|
||||
return Builder{
|
||||
//buf: make(0, initial_size)
|
||||
buf: []byte{cap: initial_size}
|
||||
str_calls: 0
|
||||
len: 0
|
||||
initial_size: initial_size
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user