Remove un-needed frame modification in Once

This is not needed and would be incorrect with the optional
This commit is contained in:
jeremy 2022-12-05 11:19:47 +01:00
parent f4428af210
commit 7f9eceadb3

View File

@ -269,11 +269,7 @@ void Once::OnceCursor::PullMultiple(MultiFrame &multi_frame, ExecutionContext &c
if (!did_pull_) {
auto &first_frame = multi_frame.GetFirstFrame();
auto *memory_resource = first_frame.GetMemoryResource();
first_frame.MakeValid();
for (auto &value : first_frame.elems()) {
value = TypedValue{memory_resource};
}
did_pull_ = true;
}
}