We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc3bc8f commit 0096451Copy full SHA for 0096451
src/util/symbol_table_writer.h
@@ -54,8 +54,13 @@ class journalling_symbol_table_writert
54
55
public:
56
journalling_symbol_table_writert(
57
- const journalling_symbol_table_writert &other):
58
- base_symbol_table(other.base_symbol_table)
+ const journalling_symbol_table_writert &other)=delete;
+
59
+ journalling_symbol_table_writert(journalling_symbol_table_writert &&other)
60
+ : base_symbol_table(other.base_symbol_table),
61
+ inserted(std::move(other.inserted)),
62
+ updated(std::move(other.updated)),
63
+ removed(std::move(other.removed))
64
{
65
}
66
0 commit comments