Skip to content

Commit

Permalink
Merge pull request ceph#53615 from ronen-fr/wip-rf-great-move
Browse files Browse the repository at this point in the history
tools, rgw/test: add std:: qualifiers to 'move'

Reviewed-by: Yuval Lifshitz <[email protected]>
  • Loading branch information
ronen-fr authored Sep 26, 2023
2 parents 1f37833 + 4f1a4fe commit 05c5f97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/test/rgw/test_d4n_filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ TEST_F(D4NFilterFixture, DataCheck) {

ASSERT_EQ(testWriter->prepare(null_yield), 0);

ASSERT_EQ(testWriter->process(move(data), 0), 0);
ASSERT_EQ(testWriter->process(std::move(data), 0), 0);

ASSERT_EQ(testWriter->complete(accounted_size, etag,
&mtime, set_mtime,
Expand All @@ -1929,7 +1929,7 @@ TEST_F(D4NFilterFixture, DataCheck) {

ASSERT_EQ(testWriter->prepare(null_yield), 0);

ASSERT_EQ(testWriter->process(move(dataNew), 0), 0);
ASSERT_EQ(testWriter->process(std::move(dataNew), 0), 0);

ASSERT_EQ(testWriter->complete(accounted_size, etag,
&mtime, set_mtime,
Expand Down
4 changes: 2 additions & 2 deletions src/tools/ceph_dedup_tool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ int estimate_dedup_ratio(const po::variables_map &opts)
max_seconds));
ptr->create("estimate_thread");
ptr->set_debug(debug);
estimate_threads.push_back(move(ptr));
estimate_threads.push_back(std::move(ptr));
}
glock.unlock();

Expand Down Expand Up @@ -1319,7 +1319,7 @@ int chunk_scrub_common(const po::variables_map &opts)
new ChunkScrub(io_ctx, i, max_thread, begin, end, chunk_io_ctx,
report_period, s.num_objects));
ptr->create("estimate_thread");
estimate_threads.push_back(move(ptr));
estimate_threads.push_back(std::move(ptr));
}
glock.unlock();

Expand Down

0 comments on commit 05c5f97

Please sign in to comment.