We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d66c0bc commit 7b254e2Copy full SHA for 7b254e2
src/util/symbol_table.h
@@ -74,10 +74,8 @@ class symbol_tablet
74
75
symbol_tablet &operator=(const symbol_tablet &other)
76
{
77
- internal_symbols=other.internal_symbols;
78
- internal_symbol_base_map=other.internal_symbol_base_map;
79
- internal_symbol_module_map=other.symbol_module_map;
80
- return *this;
+ // Copy to temp and then call move assignment
+ return *this=symbol_tablet(other);
81
}
82
83
symbol_tablet(symbol_tablet &&other)
0 commit comments