Commit a93eb5f2 authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #399 from EricWF/master

Fix conversion build error when building with Clang 4.0
parents b8be5268 0f1fd193
......@@ -126,7 +126,7 @@ template <> struct ElementSizeForType<Void> { static constexpr ElementSize value
template <> struct ElementSizeForType<bool> { static constexpr ElementSize value = ElementSize::BIT; };
// Lists and blobs are pointers, not structs.
template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
template <typename T, Kind K> struct ElementSizeForType<List<T, K>> {
static constexpr ElementSize value = ElementSize::POINTER;
};
template <> struct ElementSizeForType<Text> {
......
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