Remove un-needed frame modification in Once
This is not needed and would be incorrect with the optional
This commit is contained in:
parent
f4428af210
commit
7f9eceadb3
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user