Skip to content

Commit

Permalink
fix clang compile (vesoft-inc#497)
Browse files Browse the repository at this point in the history
Co-authored-by: yaphet <[email protected]>
  • Loading branch information
nebula-bots and darionyaphet authored Jan 13, 2022
1 parent da4e64d commit c5a36f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/storage/index/LookupProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ void LookupProcessor::runInSingleThread(const std::vector<PartitionID>& parts,
}
if (statTypes_.size() > 0) {
auto indexAgg = dynamic_cast<IndexAggregateNode*>(plan.get());
statsDataSet_.emplace_back(std::move(indexAgg->calculateStats()));
statsDataSet_.emplace_back(indexAgg->calculateStats());
}
for (size_t i = 0; i < datasetList.size(); i++) {
if (codeList[i] == ::nebula::cpp2::ErrorCode::SUCCEEDED) {
Expand Down
2 changes: 1 addition & 1 deletion src/storage/test/LookupIndexTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3552,7 +3552,7 @@ TEST_P(LookupIndexTest, AggregateEdgePropNotInReturnColumnsTest) {
QueryTestUtils::checkStatResponse(resp, expectStatColumns, expectStatRow);
}

INSTANTIATE_TEST_CASE_P(Lookup_concurrently, LookupIndexTest, ::testing::Values(false, true));
INSTANTIATE_TEST_SUITE_P(Lookup_concurrently, LookupIndexTest, ::testing::Values(false, true));

} // namespace storage
} // namespace nebula
Expand Down

0 comments on commit c5a36f9

Please sign in to comment.