summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2017-01-12 18:07:39 +0100
committerEugen Wissner <belka@caraus.de>2017-01-12 18:07:39 +0100
commit7bed7f039fda3ae635e1d4c3a7acd7076887531d (patch)
tree8485f2cfc9bee63aa1b29e07eb86d3adb0489415 /source
parent8ddea0aa4616336fa1ae7a5dcdafb0be07fb84bd (diff)
downloadtanya-7bed7f039fda3ae635e1d4c3a7acd7076887531d.tar.gz
Remove default parameter value from Protocol.disconnected
Diffstat (limited to 'source')
-rw-r--r--source/tanya/async/loop.d2
-rw-r--r--source/tanya/async/protocol.d2
-rw-r--r--source/tanya/container/vector.d2
3 files changed, 3 insertions, 3 deletions
diff --git a/source/tanya/async/loop.d b/source/tanya/async/loop.d
index 7130d9e..14cceec 100644
--- a/source/tanya/async/loop.d
+++ b/source/tanya/async/loop.d
@@ -27,7 +27,7 @@
* this.transport = transport;
* }
*
- * void disconnected(SocketException e = null) @nogc
+ * void disconnected(SocketException e) @nogc
* {
* }
* }
diff --git a/source/tanya/async/protocol.d b/source/tanya/async/protocol.d
index f8e9c09..3b62db6 100644
--- a/source/tanya/async/protocol.d
+++ b/source/tanya/async/protocol.d
@@ -39,7 +39,7 @@ interface Protocol
* exception = $(D_PSYMBOL Exception) if an error caused
* the disconnect, $(D_KEYWORD null) otherwise.
*/
- void disconnected(SocketException exception = null) @nogc;
+ void disconnected(SocketException exception) @nogc;
}
/**
diff --git a/source/tanya/container/vector.d b/source/tanya/container/vector.d
index 868cc40..bbeb2f6 100644
--- a/source/tanya/container/vector.d
+++ b/source/tanya/container/vector.d
@@ -1403,7 +1403,7 @@ struct Vector(T)
*
* Returns: The array with elements of this vector.
*/
- inout(T[]) data() inout
+ @property inout(T[]) data() inout
{
return vector[0 .. length];
}