Rename func ResetAllFramesInvalid->MakeAllFramesInvalid
This commit is contained in:
parent
02ca6734c1
commit
55008a2927
@ -761,7 +761,7 @@ std::optional<plan::ProfilingStatsWithTotalTime> PullPlan::PullMultiple(AnyStrea
|
||||
stream_values(frame);
|
||||
++i;
|
||||
}
|
||||
multi_frame_.ResetAllFramesInvalid();
|
||||
multi_frame_.MakeAllFramesInvalid();
|
||||
}
|
||||
|
||||
for (; !n || i < n;) {
|
||||
@ -776,7 +776,7 @@ std::optional<plan::ProfilingStatsWithTotalTime> PullPlan::PullMultiple(AnyStrea
|
||||
++i;
|
||||
}
|
||||
}
|
||||
multi_frame_.ResetAllFramesInvalid();
|
||||
multi_frame_.MakeAllFramesInvalid();
|
||||
}
|
||||
|
||||
// If we finished because we streamed the requested n results,
|
||||
|
@ -44,7 +44,7 @@ MultiFrame::MultiFrame(const MultiFrame &other) : default_frame_(other.default_f
|
||||
MultiFrame::MultiFrame(MultiFrame &&other) noexcept
|
||||
: default_frame_(std::move(other.default_frame_)), frames_(std::move(other.frames_)) {}
|
||||
|
||||
void MultiFrame::ResetAllFramesInvalid() noexcept {
|
||||
void MultiFrame::MakeAllFramesInvalid() noexcept {
|
||||
std::for_each(frames_.begin(), frames_.end(), [](auto &frame) { frame.MakeInvalid(); });
|
||||
}
|
||||
|
||||
|
@ -71,7 +71,7 @@ class MultiFrame {
|
||||
*/
|
||||
InvalidFramesPopulator GetInvalidFramesPopulator();
|
||||
|
||||
void ResetAllFramesInvalid() noexcept;
|
||||
void MakeAllFramesInvalid() noexcept;
|
||||
|
||||
bool HasValidFrame() const noexcept;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user