File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -187,9 +187,10 @@ class OpenRoad
187187 int bloat_factor,
188188 bool bloat_occupied_layers);
189189
190+ void writeDef (const char * filename, const char * version);
190191 void writeDef (const char * filename,
191192 // major.minor (avoid including defout.h)
192- const char * version);
193+ const string& version);
193194
194195 void writeCdl (const char * out_filename,
195196 const std::vector<const char *>& masters_filenames,
Original file line number Diff line number Diff line change @@ -349,6 +349,11 @@ static odb::defout::Version stringToDefVersion(const string& version)
349349}
350350
351351void OpenRoad::writeDef (const char * filename, const char * version)
352+ {
353+ writeDef (filename, std::string (version));
354+ }
355+
356+ void OpenRoad::writeDef (const char * filename, const string& version)
352357{
353358 odb::dbChip* chip = db_->getChip ();
354359 if (chip) {
You can’t perform that action at this time.
0 commit comments