mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
mutation_partition: Unmark cell_entry's copy constructor as noexcept
It was a mistake, it certainly may throw because it copies cells.
(cherry picked from commit c91eefa183)
This commit is contained in:
committed by
Pekka Enberg
parent
a133e48515
commit
2eb54bb068
@@ -1058,7 +1058,7 @@ row::~row() {
|
||||
}
|
||||
}
|
||||
|
||||
row::cell_entry::cell_entry(const cell_entry& o) noexcept
|
||||
row::cell_entry::cell_entry(const cell_entry& o)
|
||||
: _id(o._id)
|
||||
, _cell(o._cell)
|
||||
{ }
|
||||
|
||||
@@ -59,7 +59,7 @@ class row {
|
||||
, _cell(std::move(cell))
|
||||
{ }
|
||||
cell_entry(cell_entry&&) noexcept;
|
||||
cell_entry(const cell_entry&) noexcept;
|
||||
cell_entry(const cell_entry&);
|
||||
|
||||
column_id id() const { return _id; }
|
||||
const atomic_cell_or_collection& cell() const { return _cell; }
|
||||
|
||||
Reference in New Issue
Block a user