Commit 8fc1ce96 authored by Harris Hancock's avatar Harris Hancock

Work around MSVC bug in kj::Mapper

Closes #408. Perhaps the same bug as in commit cff9ba05?
parent 556e63dd
......@@ -524,7 +524,7 @@ struct Mapper {
}
return builder.finish();
}
typedef decltype(*(array).begin()) Element;
typedef decltype(*kj::instance<T>().begin()) Element;
};
template <typename T, size_t s>
......
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