We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d14f6a7 commit 2894f06Copy full SHA for 2894f06
source/mysql/protocol/sockets.d
@@ -40,7 +40,7 @@ interface MySQLSocket
40
void close();
41
@property bool connected() const;
42
void read(ubyte[] dst);
43
- void write(in ubyte[] bytes);
+ void write(const scope ubyte[] bytes);
44
45
void acquire();
46
void release();
@@ -93,7 +93,7 @@ class MySQLSocketPhobos : MySQLSocket
93
}
94
95
96
- void write(in ubyte[] bytes)
+ void write(const scope ubyte[] bytes)
97
{
98
socket.send(bytes);
99
@@ -143,7 +143,7 @@ version(Have_vibe_core) {
143
socket.read(dst);
144
145
146
147
148
socket.write(bytes);
149
0 commit comments