diff --git a/mutation/range_tombstone_list.hh b/mutation/range_tombstone_list.hh index 6d3f85aac04f..c69652b2863b 100644 --- a/mutation/range_tombstone_list.hh +++ b/mutation/range_tombstone_list.hh @@ -119,7 +119,6 @@ class range_tombstone_list final { revert(); } reverter(reverter&&) = default; - reverter& operator=(reverter&&) = default; reverter(const reverter&) = delete; reverter& operator=(reverter&) = delete; virtual range_tombstones_type::iterator insert(range_tombstones_type::iterator it, range_tombstone_entry& new_rt); diff --git a/query-result.hh b/query-result.hh index a6da0cb0e990..a86d92ed11b9 100644 --- a/query-result.hh +++ b/query-result.hh @@ -382,9 +382,7 @@ public: w.reduce_chunk_count(); } result(result&&) = default; - result(const result&) = default; result& operator=(result&&) = default; - result& operator=(const result&) = default; const bytes_ostream& buf() const { return _w; diff --git a/row_cache.hh b/row_cache.hh index 8d9ecd111496..5aa6001fd782 100644 --- a/row_cache.hh +++ b/row_cache.hh @@ -356,7 +356,6 @@ public: row_cache(schema_ptr, snapshot_source, cache_tracker&, is_continuous = is_continuous::no); row_cache(row_cache&&) = default; row_cache(const row_cache&) = delete; - row_cache& operator=(row_cache&&) = default; public: // Implements mutation_source for this cache, see mutation_reader.hh // User needs to ensure that the row_cache object stays alive diff --git a/utils/histogram.hh b/utils/histogram.hh index ffbb449ab8ed..8513f55f9ce4 100644 --- a/utils/histogram.hh +++ b/utils/histogram.hh @@ -437,9 +437,7 @@ public: timed_rate_moving_average met; timed_rate_moving_average_and_histogram() = default; timed_rate_moving_average_and_histogram(timed_rate_moving_average_and_histogram&&) = default; - timed_rate_moving_average_and_histogram(const timed_rate_moving_average_and_histogram&) = default; timed_rate_moving_average_and_histogram(size_t size, int64_t _sample_mask = 0x80) : hist(size, _sample_mask) {} - timed_rate_moving_average_and_histogram& operator=(const timed_rate_moving_average_and_histogram&) = default; template void mark(std::chrono::duration dur) { @@ -505,7 +503,6 @@ public: } timed_rate_moving_average_summary_and_histogram(timed_rate_moving_average_summary_and_histogram&&) = default; - timed_rate_moving_average_summary_and_histogram(const timed_rate_moving_average_summary_and_histogram&) = default; timed_rate_moving_average_summary_and_histogram(size_t size) : _timer([this]{ _rates.update(); _last_update++; @@ -515,7 +512,6 @@ public: _last_update = 0; _summary.update();}), hist(size, 0) { } - timed_rate_moving_average_summary_and_histogram& operator=(const timed_rate_moving_average_summary_and_histogram&) = default; template void mark(std::chrono::duration dur) noexcept {