summaryrefslogtreecommitdiffstats
path: root/src/server/InputPort.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-03-26 12:50:58 +0200
committerDavid Robillard <d@drobilla.net>2017-03-26 17:02:09 +0200
commitfbb4acda313ecfb69dd1e7c2f1f120072fec382d (patch)
tree564de80858b07e2424d34820a00387d51d7004db /src/server/InputPort.cpp
parentcfb016163227560932044b73407ae9dafa54b4ba (diff)
downloadingen-fbb4acda313ecfb69dd1e7c2f1f120072fec382d.tar.gz
ingen-fbb4acda313ecfb69dd1e7c2f1f120072fec382d.tar.bz2
ingen-fbb4acda313ecfb69dd1e7c2f1f120072fec382d.zip
Make parent pointer a block since ports can not contain nodes
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r--src/server/InputPort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp
index cfc43526..0e68360e 100644
--- a/src/server/InputPort.cpp
+++ b/src/server/InputPort.cpp
@@ -139,7 +139,7 @@ InputPort::remove_arc(ArcImpl& arc)
uint32_t
InputPort::max_tail_poly(RunContext& context) const
{
- return parent_block()->parent_graph()->internal_poly_process();
+ return parent()->parent_graph()->internal_poly_process();
}
void