mirror of https://github.com/KLayout/klayout.git
Small bug fix - constness was not intended for Device#net_for_terminal on non-const mode
This commit is contained in:
parent
b0268b62b0
commit
c227cb9ef3
|
|
@ -260,7 +260,7 @@ static const db::Net *net_for_terminal_by_name_const (const db::Device *device,
|
|||
}
|
||||
}
|
||||
|
||||
static const db::Net *net_for_terminal_by_name (db::Device *device, const std::string &name)
|
||||
static db::Net *net_for_terminal_by_name (db::Device *device, const std::string &name)
|
||||
{
|
||||
if (! device->device_class () || ! device->device_class ()->has_terminal_with_name (name)) {
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue