mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
test: Drop ifdef now that we always use c++20
Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com>
This commit is contained in:
@@ -61,12 +61,7 @@ public:
|
||||
if (runs.size() < size_t(cf.schema()->min_compaction_threshold())) {
|
||||
continue;
|
||||
}
|
||||
#if __cplusplus <= 201703L
|
||||
using vector_shared_sstable_ref = std::vector<shared_sstable>&;
|
||||
#else
|
||||
using vector_shared_sstable_ref = std::vector<shared_sstable>&&;
|
||||
#endif
|
||||
auto all = boost::accumulate(runs, std::vector<shared_sstable>(), [&] (vector_shared_sstable_ref v, const sstable_run& run) {
|
||||
auto all = boost::accumulate(runs, std::vector<shared_sstable>(), [&] (std::vector<shared_sstable>&& v, const sstable_run& run) {
|
||||
v.insert(v.end(), run.all().begin(), run.all().end());
|
||||
return std::move(v);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user