Skip to content

Commit 4365d78

Browse files
committed
Fix #10, was preventing the implementation of external event loops
1 parent 4c3d3c2 commit 4365d78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/asynchronous/events.d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ interface Server
196196
void waitClosed();
197197
}
198198

199-
package class ServerImpl : Server
199+
final class ServerImpl : Server
200200
{
201201
private EventLoop eventLoop;
202202

@@ -206,13 +206,13 @@ package class ServerImpl : Server
206206

207207
private Waiter[] waiters;
208208

209-
this(EventLoop eventLoop, Socket[] sockets)
209+
package this(EventLoop eventLoop, Socket[] sockets)
210210
{
211211
this.eventLoop = eventLoop;
212212
this.sockets = sockets;
213213
}
214214

215-
package void attach()
215+
void attach()
216216
in
217217
{
218218
assert(!this.sockets.empty);
@@ -222,7 +222,7 @@ package class ServerImpl : Server
222222
++this.activeCount;
223223
}
224224

225-
package void detach()
225+
void detach()
226226
in
227227
{
228228
assert(this.activeCount > 0);

0 commit comments

Comments
 (0)