Move previous fix to subclass (which overrides the base class).

This commit is contained in:
Jeff Young 2022-12-07 17:12:47 +00:00
parent 82874daf08
commit ce8fa2ad00
2 changed files with 3 additions and 2 deletions

View File

@ -94,7 +94,7 @@ class TEST_NETLIST_EXPORTER_FIXTURE : public KI_TEST::SCHEMATIC_TEST_FIXTURE
{
public:
virtual wxString GetNetlistPath( bool aTest = false );
virtual unsigned GetNetlistOptions() { return NETLIST_EXPORTER_SPICE::OPTION_SIM_COMMAND; }
virtual unsigned GetNetlistOptions() { return 0; }
void WriteNetlist();

View File

@ -272,7 +272,8 @@ public:
{
return NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_VOLTAGES
| NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_CURRENTS
| NETLIST_EXPORTER_SPICE::OPTION_ADJUST_INCLUDE_PATHS;
| NETLIST_EXPORTER_SPICE::OPTION_ADJUST_INCLUDE_PATHS
| NETLIST_EXPORTER_SPICE::OPTION_SIM_COMMAND;
}
std::shared_ptr<SPICE_SIMULATOR> m_simulator;