summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/ObjectStore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/ObjectStore.cpp')
-rw-r--r--src/libs/engine/ObjectStore.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/ObjectStore.cpp b/src/libs/engine/ObjectStore.cpp
index b321e51c..719770ed 100644
--- a/src/libs/engine/ObjectStore.cpp
+++ b/src/libs/engine/ObjectStore.cpp
@@ -23,7 +23,7 @@
#include "ObjectStore.hpp"
#include "Patch.hpp"
#include "NodeImpl.hpp"
-#include "Port.hpp"
+#include "PortImpl.hpp"
#include "ThreadManager.hpp"
using namespace std;
@@ -54,11 +54,11 @@ ObjectStore::find_node(const Path& path)
/** Find the Port at the given path.
*/
-Port*
+PortImpl*
ObjectStore::find_port(const Path& path)
{
GraphObjectImpl* const object = find_object(path);
- return dynamic_cast<Port*>(object);
+ return dynamic_cast<PortImpl*>(object);
}
@@ -85,7 +85,7 @@ ObjectStore::add(GraphObjectImpl* o)
NodeImpl* node = dynamic_cast<NodeImpl*>(o);
if (node) {
for (uint32_t i=0; i < node->num_ports(); ++i) {
- add(node->ports().at(i));
+ add(node->port_impl(i));
}
}
}