Seems to fix issue #1260

This commit is contained in:
Matthias Koefferlein 2023-01-23 23:24:55 +01:00
parent cd2535af09
commit 2749217984
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ Layout::operator= (const Layout &d)
const db::Technology * const db::Technology *
Layout::technology () const Layout::technology () const
{ {
return db::Technologies::instance ()->technology_by_name (m_tech_name); return db::Technologies::instance ()->has_technology (m_tech_name) ? db::Technologies::instance ()->technology_by_name (m_tech_name) : 0;
} }
void void