Representer ctor no longer pure due to DMD 2.054

This commit is contained in:
Ferdinand Majerech 2013-12-17 15:15:58 +01:00
parent 7be10a44bf
commit c772609e13

View file

@ -69,7 +69,7 @@ final class Representer
* functions for default types. * functions for default types.
*/ */
this(const Flag!"useDefaultRepresenters" useDefaultRepresenters = Yes.useDefaultRepresenters) this(const Flag!"useDefaultRepresenters" useDefaultRepresenters = Yes.useDefaultRepresenters)
@safe @safe pure
{ {
if(!useDefaultRepresenters){return;} if(!useDefaultRepresenters){return;}
addRepresenter!YAMLNull(&representNull); addRepresenter!YAMLNull(&representNull);