Fix FileDescriptorEvent constructor to adhere to the given event mask.

This commit is contained in:
Sönke Ludwig 2017-07-29 13:32:27 +02:00
parent a60828d6da
commit 2777b0a6ff
No known key found for this signature in database
GPG key ID: D95E8DB493EE314C

View file

@ -972,6 +972,7 @@ struct FileDescriptorEvent {
private this(int fd, Trigger event_mask)
nothrow {
m_socket = eventDriver.sockets.adoptStream(fd);
m_trigger = event_mask;
}
this(this)