mirror of https://github.com/YosysHQ/yosys.git
subcircuit: Class with virtual methods should have virtual destructor.
Fixes a compile warning. * https://stackoverflow.com/questions/1123044/when-should-your-destructor-be-virtual
This commit is contained in:
parent
203c2dae3c
commit
04802e93e8
|
@ -131,7 +131,7 @@ namespace SubCircuit
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Solver();
|
Solver();
|
||||||
~Solver();
|
virtual ~Solver();
|
||||||
|
|
||||||
void setVerbose();
|
void setVerbose();
|
||||||
void addGraph(std::string graphId, const Graph &graph);
|
void addGraph(std::string graphId, const Graph &graph);
|
||||||
|
|
Loading…
Reference in New Issue