atilaneves / automem

C++-style automatic memory management smart pointers for D
BSD 3-Clause "New" or "Revised" License
86 stars 15 forks source link

Fix deprecation about throwing of immutable exception #80

Closed drug007 closed 2 months ago

drug007 commented 3 months ago

Starting from version 2.104.2, the front-end gives a deprecation message that you cannot throw object of const/immutable type. Here the immutable exception is made a mutable one and its initialization occurs in static this() ctor of the module.