diff options
Diffstat (limited to 'src/python/swig/pyobject.cc')
-rw-r--r-- | src/python/swig/pyobject.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/swig/pyobject.cc b/src/python/swig/pyobject.cc index 05698e794..fc4435781 100644 --- a/src/python/swig/pyobject.cc +++ b/src/python/swig/pyobject.cc @@ -102,8 +102,8 @@ connectPorts(SimObject *o1, const std::string &name1, int i1, } // generic master/slave port connection - MasterPort& masterPort = mo1->getMasterPort(name1, i1); - SlavePort& slavePort = mo2->getSlavePort(name2, i2); + BaseMasterPort& masterPort = mo1->getMasterPort(name1, i1); + BaseSlavePort& slavePort = mo2->getSlavePort(name2, i2); masterPort.bind(slavePort); |