Skip to content

Commit

Permalink
Fix shadow compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu committed Oct 11, 2021
1 parent 25729a0 commit 4e107e9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions src/clients/storage/GraphStorageClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions src/clients/storage/GraphStorageClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ class GraphStorageClient : public StorageClientBase<cpp2::GraphStorageServiceAsy
bool useExperimentalFeature{false};
folly::EventBase* evb{nullptr};

CommonRequestParam(GraphSpaceID space,
CommonRequestParam(GraphSpaceID space_,
SessionID sess,
ExecutionPlanID plan,
bool profile = false,
ExecutionPlanID plan_,
bool profile_ = false,
bool toss = false,
bool experimental = false,
folly::EventBase* evb = nullptr);
folly::EventBase* evb_ = nullptr);

cpp2::RequestCommon toReqCommon() const;
};
Expand Down

0 comments on commit 4e107e9

Please sign in to comment.