mirror of https://github.com/KLayout/klayout.git
Fixed a segfault in the LVS result browser.
This commit is contained in:
parent
3a93bc2162
commit
1b6e42d70a
|
|
@ -824,6 +824,9 @@ static
|
||||||
std::string device_parameter_string (const db::Device *device)
|
std::string device_parameter_string (const db::Device *device)
|
||||||
{
|
{
|
||||||
std::string s;
|
std::string s;
|
||||||
|
if (! device || ! device->device_class ()) {
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
|
||||||
bool first = true;
|
bool first = true;
|
||||||
const std::vector<db::DeviceParameterDefinition> &pd = device->device_class ()->parameter_definitions ();
|
const std::vector<db::DeviceParameterDefinition> &pd = device->device_class ()->parameter_definitions ();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue