phobos/changelog/errnoexception-errno-attributes.dd
Chloé Kekoa 3d4bc84fc4 Make ErrnoException.errno nothrow pure @nogc @safe
In addition make the ctors (which were @trusted) and tests @safe, but
that is not an API change, so it is not in the changelog.
2019-06-14 07:34:28 +02:00

4 lines
190 B
Text

ErrnoException.errno is now nothrow pure @nogc @safe
Before, it was just @system. As it turns out, all it does is return the value
of an integer field, so it can have all these attributes.