Rename func ResetAllFramesInvalid->MakeAllFramesInvalid

This commit is contained in:
jeremy 2022-11-30 14:17:01 +01:00
parent 02ca6734c1
commit 55008a2927
3 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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(); });
}

View File

@ -71,7 +71,7 @@ class MultiFrame {
*/
InvalidFramesPopulator GetInvalidFramesPopulator();
void ResetAllFramesInvalid() noexcept;
void MakeAllFramesInvalid() noexcept;
bool HasValidFrame() const noexcept;