1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: fix some tests, that failed due to the stricter immutable checks

This commit is contained in:
Delyan Angelov
2020-06-01 18:24:38 +03:00
parent 86862d6a94
commit ae8f7cf569
11 changed files with 14 additions and 14 deletions

View File

@ -15,12 +15,12 @@ pub struct Client {
retry int
eb &eventbus.EventBus
is_ssl bool
lock &sync.Mutex = sync.new_mutex()
write_lock &sync.Mutex = sync.new_mutex()
// subprotocol_len int
// cwebsocket_subprotocol *subprotocol;
// cwebsocket_subprotocol *subprotocols[];
mut:
lock &sync.Mutex = sync.new_mutex()
write_lock &sync.Mutex = sync.new_mutex()
state State
socket net.Socket
flags []Flag