diff options
Diffstat (limited to 'src/server/PortImpl.cpp')
-rw-r--r-- | src/server/PortImpl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp index 7b84be17..183b4c25 100644 --- a/src/server/PortImpl.cpp +++ b/src/server/PortImpl.cpp @@ -23,6 +23,7 @@ #include "Buffer.hpp" #include "BufferFactory.hpp" #include "Engine.hpp" +#include "GraphImpl.hpp" #include "PortImpl.hpp" #include "PortType.hpp" #include "ThreadManager.hpp" @@ -97,7 +98,7 @@ PortImpl::PortImpl(BufferFactory& bufs, } if (is_output) { - if (_parent->graph_type() != Node::GraphType::GRAPH) { + if (!dynamic_cast<GraphImpl*>(_parent)) { add_property(bufs.uris().rdf_type, bufs.uris().lv2_OutputPort.urid); } } |