Skip to content

Commit 63def85

Browse files
committed
Add final to solver_factory / solvert
This aids readability because the reader will know that no classes derive from these classes.
1 parent 0ea7f13 commit 63def85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/goto-checker/solver_factory.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class propt;
2323
class decision_proceduret;
2424
class stack_decision_proceduret;
2525

26-
class solver_factoryt
26+
class solver_factoryt final
2727
{
2828
public:
2929
/// Note: The solver returned will hold a reference to the namespace `ns`.
@@ -35,7 +35,7 @@ class solver_factoryt
3535

3636
// The solver class,
3737
// which owns a variety of allocated objects.
38-
class solvert
38+
class solvert final
3939
{
4040
public:
4141
solvert() = default;

0 commit comments

Comments
 (0)