We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e149397 + 7e7619c commit af880a4Copy full SHA for af880a4
src/util/symbol_table_base.cpp
@@ -5,6 +5,12 @@
5
#include <ostream>
6
#include <algorithm>
7
8
+/// Destructor
9
+symbol_table_baset::~symbol_table_baset()
10
+{
11
+}
12
+
13
14
/// Add a new symbol to the symbol table
15
/// \param symbol: The symbol to be added to the symbol table
16
/// \return Returns true if the process failed, which should only happen if
src/util/symbol_table_base.h
@@ -42,6 +42,8 @@ class symbol_table_baset
42
symbol_table_baset(const symbol_table_baset &other) = delete;
43
symbol_table_baset &operator=(const symbol_table_baset &other) = delete;
44
45
+ virtual ~symbol_table_baset();
46
47
public:
48
/// Permits implicit cast to const symbol_tablet &
49
operator const symbol_tablet &() const
0 commit comments