Remove default parameter value from Protocol.disconnected
This commit is contained in:
parent
8ddea0aa46
commit
7bed7f039f
@ -27,7 +27,7 @@
|
|||||||
* this.transport = transport;
|
* this.transport = transport;
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* void disconnected(SocketException e = null) @nogc
|
* void disconnected(SocketException e) @nogc
|
||||||
* {
|
* {
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
|
@ -39,7 +39,7 @@ interface Protocol
|
|||||||
* exception = $(D_PSYMBOL Exception) if an error caused
|
* exception = $(D_PSYMBOL Exception) if an error caused
|
||||||
* the disconnect, $(D_KEYWORD null) otherwise.
|
* the disconnect, $(D_KEYWORD null) otherwise.
|
||||||
*/
|
*/
|
||||||
void disconnected(SocketException exception = null) @nogc;
|
void disconnected(SocketException exception) @nogc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1403,7 +1403,7 @@ struct Vector(T)
|
|||||||
*
|
*
|
||||||
* Returns: The array with elements of this vector.
|
* Returns: The array with elements of this vector.
|
||||||
*/
|
*/
|
||||||
inout(T[]) data() inout
|
@property inout(T[]) data() inout
|
||||||
{
|
{
|
||||||
return vector[0 .. length];
|
return vector[0 .. length];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user