Skip to content

Commit

Permalink
Sink serialization: Do not provide the type explicitly
Browse files Browse the repository at this point in the history
Let IFTI do its thing, as it needs to for 'auto ref'.
  • Loading branch information
Geod24 authored and dlang-bot committed Nov 26, 2020
1 parent b93330a commit ac7824c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/vibe/data/serialization.d
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ private template serializeValueImpl(Serializer, alias Policy) {
} else static if (isISOExtStringSerializable!TU) {
ser.serializeValue!(string, ATTRIBUTES)(value.toISOExtString());
} else static if (isSinkSerializable!TU && isSerializerSupportSinkType!(Serializer, TU)) {
ser.serializeSinkType!TU(value);
ser.serializeSinkType(value);
}
else static if (isStringSerializable!TU) {
ser.serializeValue!(string, ATTRIBUTES)(value.toString());
Expand Down

0 comments on commit ac7824c

Please sign in to comment.