From 3b06db5a02181d4b16495062b447f8779a403ebb Mon Sep 17 00:00:00 2001 From: gvolfing Date: Thu, 12 Jan 2023 16:13:27 +0100 Subject: [PATCH] Clang-tidy --- src/query/v2/plan/operator.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/query/v2/plan/operator.cpp b/src/query/v2/plan/operator.cpp index b545b742f..e55859cca 100644 --- a/src/query/v2/plan/operator.cpp +++ b/src/query/v2/plan/operator.cpp @@ -589,9 +589,12 @@ class DistributedScanAllByPrimaryKeyCursor : public Cursor { SCOPED_PROFILE_OP(op_name_); if (!own_multi_frames_.has_value()) { - // NOLINTNEXTLINE(cppcoreguidelines-narrowing-conversions) + // NOLINTBEGIN(cppcoreguidelines-narrowing-conversions) + // NOLINTBEGIN(bugprone-narrowing-conversions) own_multi_frames_.emplace(MultiFrame(input_multi_frame.GetFirstFrame().elems().size(), kNumberOfFramesInMultiframe, input_multi_frame.GetMemoryResource())); + // NOLINTEND(bugprone-narrowing-conversions) + // NOLINTEND(cppcoreguidelines-narrowing-conversions) PrepareNextFrames(context); }