Skip to content

Commit

Permalink
Merge pull request #1182 from ColdenCullen/master
Browse files Browse the repository at this point in the history
Add missing Policy param when deserializing member with @asArray
  • Loading branch information
s-ludwig committed Jul 14, 2015
2 parents e542d98 + 6cdf90e commit 91d23a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/vibe/data/serialization.d
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 91d23a2

Please sign in to comment.