From 1aa40e5e3fad1e9b4a482157988ec8bd355a3ed0 Mon Sep 17 00:00:00 2001 From: jeremy Date: Thu, 15 Dec 2022 16:24:45 +0100 Subject: [PATCH] Add const to method --- src/query/v2/plan/operator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/v2/plan/operator.cpp b/src/query/v2/plan/operator.cpp index 3e8d533c5..b6bbf9ce1 100644 --- a/src/query/v2/plan/operator.cpp +++ b/src/query/v2/plan/operator.cpp @@ -520,7 +520,7 @@ class DistributedScanAllAndFilterCursor : public Cursor { has_next_frame_ = current_vertex_it_ != current_batch_.end() && valid_frames_it_ != valid_frames_consumer_->end(); } - inline bool HasNextFrame() { return has_next_frame_; } + inline bool HasNextFrame() const { return has_next_frame_; } FrameWithValidity GetNextFrame(ExecutionContext &context) { MG_ASSERT(HasNextFrame());