Skip to content

Commit 36cfa17

Browse files
committed
Remove virtual from cover_instrumenter_baset::operator()
That this change compiles shows that this member function is not specialised in any derived class. This means that we can make further changes to its signature and implementation without considering derived classes.
1 parent 1002ac5 commit 36cfa17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-instrument/cover_instrument.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class cover_instrumenter_baset
4040
/// \param function_id: name of \p goto_program
4141
/// \param goto_program: a goto program
4242
/// \param basic_blocks: detected basic blocks
43-
virtual void operator()(
43+
void operator()(
4444
const irep_idt &function_id,
4545
goto_programt &goto_program,
4646
const cover_blocks_baset &basic_blocks) const

0 commit comments

Comments
 (0)