Commit e50f9571 authored by Kenton Varda's avatar Kenton Varda

Fix JSON struct handler glue.

parent 316d7252
......@@ -331,7 +331,7 @@ private:
}
void decodeStructBase(const JsonCodec& codec, JsonValue::Reader input,
DynamicStruct::Builder output) const override final {
decode(codec, input, output);
decode(codec, input, output.as<T>());
}
friend class JsonCodec;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment