Error: @nogc function run cannot call non- at nogc destructor TcpServer.~this

ikod geller.garry at gmail.com
Wed Jul 17 11:28:16 UTC 2019


On Wednesday, 17 July 2019 at 10:51:53 UTC, Newbie2019 wrote:
> this is very hard to made a minimal example, and the projects 
> only build with ldc.
>
> There is a struct TcpServer has no destructor, and all method 
> is @nogc nothrow.

Then just add destructor with @nogc attribute.




More information about the Digitalmars-d-learn mailing list