diff --git a/source/vibe/data/serialization.d b/source/vibe/data/serialization.d index b04c74c26a..0d67cb58c4 100644 --- a/source/vibe/data/serialization.d +++ b/source/vibe/data/serialization.d @@ -533,7 +533,7 @@ private T deserializeImpl(T, alias Policy, Serializer, ATTRIBUTES...)(ref Serial static if (hasAttribute!(OptionalAttribute, __traits(getMember, T, mname))) if (deserializer.tryReadNull()) return; set[i] = true; - __traits(getMember, ret, mname) = deserializeImpl!(TM, Serializer, TA)(deserializer); + __traits(getMember, ret, mname) = deserializeImpl!(TM, Policy, Serializer, TA)(deserializer); break; } }