mutation_partition: change schema_ptr to schema& in mutation_partition constructor

Cosmetic change. See the preceding commit for details.
This commit is contained in:
Michał Chojnowski
2023-02-22 10:46:29 +01:00
parent 781514acfe
commit a70c5704df
9 changed files with 26 additions and 26 deletions

View File

@@ -487,7 +487,7 @@ mutation_partition& view_updates::partition_for(partition_key&& key) {
if (it != _updates.end()) {
return it->second;
}
return _updates.emplace(std::move(key), mutation_partition(_view)).first->second;
return _updates.emplace(std::move(key), mutation_partition(*_view)).first->second;
}
size_t view_updates::op_count() const {