Another const declaration that can be added
This commit is contained in:
parent
5e1f1055e1
commit
b46fbe0892
|
|
@ -165,7 +165,7 @@ class vvp_island_port : public vvp_net_fun_t {
|
||||||
|
|
||||||
inline vvp_vector8_t island_get_value(vvp_net_t*net)
|
inline vvp_vector8_t island_get_value(vvp_net_t*net)
|
||||||
{
|
{
|
||||||
vvp_island_port*fun = dynamic_cast<vvp_island_port*>(net->fun);
|
const vvp_island_port*fun = dynamic_cast<vvp_island_port*>(net->fun);
|
||||||
const vvp_wire_vec8*fil = dynamic_cast<vvp_wire_vec8*>(net->fil);
|
const vvp_wire_vec8*fil = dynamic_cast<vvp_wire_vec8*>(net->fil);
|
||||||
|
|
||||||
if (fil == 0) {
|
if (fil == 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue