mirror of
https://github.com/matrix-construct/construct
synced 2024-11-19 08:21:09 +01:00
ircd::db::database::sst: Simplify assignment for inherited.
This commit is contained in:
parent
62d34401b7
commit
72c46fa9f5
1 changed files with 1 additions and 9 deletions
10
ircd/db.cc
10
ircd/db.cc
|
@ -3862,17 +3862,9 @@ ircd::db::database::sst::info::info(const database &d_,
|
||||||
ircd::db::database::sst::info &
|
ircd::db::database::sst::info &
|
||||||
ircd::db::database::sst::info::operator=(rocksdb::LiveFileMetaData &&md)
|
ircd::db::database::sst::info::operator=(rocksdb::LiveFileMetaData &&md)
|
||||||
{
|
{
|
||||||
name = std::move(md.name);
|
|
||||||
path = std::move(md.db_path);
|
|
||||||
column = std::move(md.column_family_name);
|
column = std::move(md.column_family_name);
|
||||||
size = std::move(md.size);
|
|
||||||
min_seq = std::move(md.smallest_seqno);
|
|
||||||
max_seq = std::move(md.largest_seqno);
|
|
||||||
min_key = std::move(md.smallestkey);
|
|
||||||
max_key = std::move(md.largestkey);
|
|
||||||
num_reads = std::move(md.num_reads_sampled);
|
|
||||||
level = std::move(md.level);
|
level = std::move(md.level);
|
||||||
compacting = std::move(md.being_compacted);
|
this->operator=(static_cast<rocksdb::SstFileMetaData &&>(md));
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue