Commit 08295ff2 authored by Kenton Varda's avatar Kenton Varda

Implement missing DynamicList::as<AnyList>().

parent e232cca4
......@@ -1524,6 +1524,16 @@ inline DynamicList::Builder DynamicList::Builder::as<DynamicList>() {
return *this;
}
template <>
inline AnyList::Reader DynamicList::Reader::as<AnyList>() const {
return AnyList::Reader(reader);
}
template <>
inline AnyList::Builder DynamicList::Builder::as<AnyList>() {
return AnyList::Builder(builder);
}
// -------------------------------------------------------------------
template <typename T, typename>
......
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