aboutsummaryrefslogtreecommitdiff
path: root/source/tanya/async/watcher.d
diff options
context:
space:
mode:
Diffstat (limited to 'source/tanya/async/watcher.d')
-rw-r--r--source/tanya/async/watcher.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tanya/async/watcher.d b/source/tanya/async/watcher.d
index b698fff..fb259c3 100644
--- a/source/tanya/async/watcher.d
+++ b/source/tanya/async/watcher.d
@@ -72,7 +72,7 @@ abstract class SocketWatcher : Watcher
{
assert(socket !is null);
}
- body
+ do
{
socket_ = socket;
}
@@ -123,7 +123,7 @@ class ConnectionWatcher : SocketWatcher
{
assert(protocolFactory !is null, "Protocol isn't set.");
}
- body
+ do
{
foreach (transport; incoming)
{