spice args

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2026-04-23 09:56:45 -07:00
parent 1edf439547
commit f361dd6565
2 changed files with 7 additions and 7 deletions

View File

@ -193,7 +193,7 @@ WritePathSpice::WritePathSpice(const Path *path,
void
WritePathSpice::writeSpice()
{
spice_stream_.open(std::string(spice_filename_));
spice_stream_.open(spice_filename_);
if (spice_stream_.is_open()) {
path_expanded_.expand(path_, true);
// Find subckt port names as a side-effect of writeSubckts.

View File

@ -165,12 +165,12 @@ protected:
std::string replaceFileExt(std::string_view filename,
std::string_view ext);
const std::string_view spice_filename_;
const std::string_view subckt_filename_;
const std::string_view lib_subckt_filename_;
const std::string_view model_filename_;
const std::string_view power_name_;
const std::string_view gnd_name_;
const std::string spice_filename_;
const std::string subckt_filename_;
const std::string lib_subckt_filename_;
const std::string model_filename_;
const std::string power_name_;
const std::string gnd_name_;
CircuitSim ckt_sim_;
const Scene *scene_;
const MinMax *min_max_;