diff --git a/src/util/symbol_table_writer.h b/src/util/symbol_table_writer.h index e502a097371..7f130ec66a0 100644 --- a/src/util/symbol_table_writer.h +++ b/src/util/symbol_table_writer.h @@ -54,8 +54,13 @@ class journalling_symbol_table_writert public: journalling_symbol_table_writert( - const journalling_symbol_table_writert &other): - base_symbol_table(other.base_symbol_table) + const journalling_symbol_table_writert &other)=delete; + + journalling_symbol_table_writert(journalling_symbol_table_writert &&other) + : base_symbol_table(other.base_symbol_table), + inserted(std::move(other.inserted)), + updated(std::move(other.updated)), + removed(std::move(other.removed)) { }