On Friday, 18 May 2018 at 05:44:12 UTC, Majestio wrote:

    this()
    @safe nothrow {
        m_queue = () @trusted { return kqueue(); } ();
        m_events.length = 100;
        assert(m_queue >= 0, "Failed to create kqueue.");
    }



Also, I believe this is __lambda1:

m_queue = () @trusted { return kqueue(); } ();

Is `kqueue()` nothrow? You probably need to decorate that lambda with `nothrow`. (i.e. put a `nothrow` right after `@trusted`.

Mike

Reply via email to