Fix warning/error finding static properties.
This commit is contained in:
parent
173577d5f7
commit
bb1d26f4f7
|
|
@ -125,6 +125,7 @@ NetScope*netclass_t::method_from_name(perm_string name) const
|
||||||
NetNet* netclass_t::find_static_property(perm_string name) const
|
NetNet* netclass_t::find_static_property(perm_string name) const
|
||||||
{
|
{
|
||||||
NetNet*tmp = class_scope_->find_signal(name);
|
NetNet*tmp = class_scope_->find_signal(name);
|
||||||
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool netclass_t::test_scope_is_method(const NetScope*scope) const
|
bool netclass_t::test_scope_is_method(const NetScope*scope) const
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue