diff --git a/source/dyaml/representer.d b/source/dyaml/representer.d index 6a88ee5..f03eb0b 100644 --- a/source/dyaml/representer.d +++ b/source/dyaml/representer.d @@ -69,7 +69,7 @@ final class Representer * functions for default types. */ this(const Flag!"useDefaultRepresenters" useDefaultRepresenters = Yes.useDefaultRepresenters) - @safe + @safe pure { if(!useDefaultRepresenters){return;} addRepresenter!YAMLNull(&representNull);