File tree Expand file tree Collapse file tree 4 files changed +17
-1
lines changed
Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,12 @@ class journalling_symbol_tablet : public symbol_table_baset
143143 using symbol_table_baset::begin;
144144 using symbol_table_baset::end;
145145
146+ void validate (
147+ const validation_modet vm = validation_modet::INVARIANT) const override
148+ {
149+ base_symbol_table.validate (vm);
150+ }
151+
146152 const changesett &get_inserted () const
147153 {
148154 return inserted;
Original file line number Diff line number Diff line change @@ -118,7 +118,8 @@ class symbol_tablet : public symbol_table_baset
118118 using symbol_table_baset::end;
119119
120120 // / Check that the symbol table is well-formed
121- void validate (const validation_modet vm = validation_modet::INVARIANT) const ;
121+ void validate (
122+ const validation_modet vm = validation_modet::INVARIANT) const override ;
122123
123124 bool operator ==(const symbol_tablet &other) const ;
124125};
Original file line number Diff line number Diff line change @@ -239,6 +239,9 @@ class symbol_table_baset
239239
240240 virtual const_iteratort begin () const ;
241241 virtual const_iteratort end () const ;
242+
243+ virtual void
244+ validate (const validation_modet vm = validation_modet::INVARIANT) const = 0 ;
242245};
243246
244247std::ostream &
Original file line number Diff line number Diff line change @@ -88,6 +88,12 @@ class symbol_table_buildert : public symbol_table_baset
8888 using symbol_table_baset::begin;
8989 using symbol_table_baset::end;
9090
91+ void validate (
92+ const validation_modet vm = validation_modet::INVARIANT) const override
93+ {
94+ base_symbol_table.validate (vm);
95+ }
96+
9197 // / Try to find the next free identity for the passed-in prefix in
9298 // / this symbol table.
9399 // / \remark
You can’t perform that action at this time.
0 commit comments