From 4e107e9942c1d6a05397a4f1ebd70e2405a07c22 Mon Sep 17 00:00:00 2001 From: yixinglu <2520865+yixinglu@users.noreply.github.com> Date: Mon, 11 Oct 2021 13:39:21 +0800 Subject: [PATCH] Fix shadow compile error --- src/clients/storage/GraphStorageClient.cpp | 16 ++++++++-------- src/clients/storage/GraphStorageClient.h | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/clients/storage/GraphStorageClient.cpp b/src/clients/storage/GraphStorageClient.cpp index ee80a643770..860682f44cf 100644 --- a/src/clients/storage/GraphStorageClient.cpp +++ b/src/clients/storage/GraphStorageClient.cpp @@ -15,20 +15,20 @@ using nebula::storage::cpp2::GetPropResponse; namespace nebula { namespace storage { -GraphStorageClient::CommonRequestParam::CommonRequestParam(GraphSpaceID space, +GraphStorageClient::CommonRequestParam::CommonRequestParam(GraphSpaceID space_, SessionID sess, - ExecutionPlanID plan, - bool profile, + ExecutionPlanID plan_, + bool profile_, bool toss, bool experimental, - folly::EventBase* evb) - : space(space), + folly::EventBase* evb_) + : space(space_), session(sess), - plan(plan), - profile(profile), + plan(plan_), + profile(profile_), useToss(toss), useExperimentalFeature(experimental), - evb(evb) {} + evb(evb_) {} cpp2::RequestCommon GraphStorageClient::CommonRequestParam::toReqCommon() const { cpp2::RequestCommon common; diff --git a/src/clients/storage/GraphStorageClient.h b/src/clients/storage/GraphStorageClient.h index dd995938331..3234116f749 100644 --- a/src/clients/storage/GraphStorageClient.h +++ b/src/clients/storage/GraphStorageClient.h @@ -37,13 +37,13 @@ class GraphStorageClient : public StorageClientBase