mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 12:06:44 +00:00
repair: Add default construct for partition_key_and_mutation_fragments
This is useful when we want to add an empty partition_key_and_mutation_fragments.
This commit is contained in:
@@ -291,6 +291,9 @@ class partition_key_and_mutation_fragments {
|
||||
partition_key _key;
|
||||
std::list<frozen_mutation_fragment> _mfs;
|
||||
public:
|
||||
partition_key_and_mutation_fragments()
|
||||
: _key(std::vector<bytes>() ) {
|
||||
}
|
||||
partition_key_and_mutation_fragments(partition_key key, std::list<frozen_mutation_fragment> mfs)
|
||||
: _key(std::move(key))
|
||||
, _mfs(std::move(mfs)) {
|
||||
|
||||
Reference in New Issue
Block a user