Merge pull request #1055 from KLayout/enums-vs-int

Enums vs int
This commit is contained in:
Matthias Köfferlein
2022-04-09 18:07:57 +02:00
committed by GitHub
11 changed files with 346 additions and 8 deletions
@@ -1984,6 +1984,9 @@ static std::string get_technology (const lay::CellViewRef *cv)
static tl::Event &get_technology_changed_event (lay::CellViewRef *cv)
{
if (! cv->is_valid ()) {
throw tl::Exception (tl::to_string (QObject::tr ("Not a valid cellview")));
}
return (*cv)->technology_changed_event;
}