Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/util/decision_procedure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,4 @@ Author: Daniel Kroening, [email protected]

#include "decision_procedure.h"

#include <cassert>

bool decision_proceduret::in_core(const exprt &expr)
{
UNREACHABLE;
return true;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only half-related to the change: I believe it would be good to explicitly define the destructor in this .cpp file so that the compiler has an idea where to place the virtual table.

3 changes: 0 additions & 3 deletions src/util/decision_procedure.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ class decision_proceduret:public messaget
return dec_solve();
}

// old-style, will go away
virtual bool in_core(const exprt &expr);

// return a textual description of the decision procedure
virtual std::string decision_procedure_text() const=0;

Expand Down