From 2eb54bb068ec974bfa6302574ad660874fd71324 Mon Sep 17 00:00:00 2001 From: Tomasz Grabiec Date: Wed, 16 Mar 2016 17:05:47 +0100 Subject: [PATCH] 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 c91eefa183b97659db113a207021c9f099263213) --- mutation_partition.cc | 2 +- mutation_partition.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mutation_partition.cc b/mutation_partition.cc index f2f9af0708..36d6472f6f 100644 --- a/mutation_partition.cc +++ b/mutation_partition.cc @@ -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) { } diff --git a/mutation_partition.hh b/mutation_partition.hh index c2f2f64f14..ea713b9cce 100644 --- a/mutation_partition.hh +++ b/mutation_partition.hh @@ -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; }