Skip to content

Commit

Permalink
to satisfy fommart lint
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyu85cn committed Dec 20, 2021
1 parent 740b32b commit 2e370d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions src/storage/exec/FilterNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ class FilterNode : public IterateNode<T> {
return nebula::cpp2::ErrorCode::SUCCEEDED;
}

void setFilterMode(FilterMode mode) {
mode_ = mode;
}
void setFilterMode(FilterMode mode) { mode_ = mode; }

private:
bool check() override {
Expand Down
4 changes: 1 addition & 3 deletions src/storage/exec/MultiTagNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ class MultiTagNode : public IterateNode<VertexID> {
return ret;
}

void next() override {
tagNodes_.back()->next();
}
void next() override { tagNodes_.back()->next(); }

folly::StringPiece key() const override {
LOG(FATAL) << "not allowed to do this";
Expand Down
4 changes: 1 addition & 3 deletions src/storage/exec/TagNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ class TagNode final : public IterateNode<VertexID> {
return valueHandler(key_, reader_.get(), props_);
}

bool valid() const override {
return valid_;
}
bool valid() const override { return valid_; }

void next() override {
// tag only has one valid record, so stop iterate
Expand Down

0 comments on commit 2e370d2

Please sign in to comment.