summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/Builder.cpp2
-rw-r--r--src/shared/ClashAvoider.cpp4
-rw-r--r--src/shared/ClashAvoider.hpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/Builder.cpp b/src/shared/Builder.cpp
index 48950e2e..28833fc9 100644
--- a/src/shared/Builder.cpp
+++ b/src/shared/Builder.cpp
@@ -66,7 +66,7 @@ Builder::build(const Raul::Path& prefix, SharedPtr<const GraphObject> object)
SharedPtr<const Port> port = PtrCast<const Port>(object);
if (port) {
Raul::Path path = prefix.base() + port->path().substr(1);
- _interface.new_port(path, port->index(), port->type().uri(), !port->is_input());
+ _interface.new_port(path, port->type().uri(), port->index(), !port->is_input());
build_object(prefix, object);
return;
}
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp
index d5d1d245..ca322b74 100644
--- a/src/shared/ClashAvoider.cpp
+++ b/src/shared/ClashAvoider.cpp
@@ -144,11 +144,11 @@ ClashAvoider::new_node(const std::string& path,
void
ClashAvoider::new_port(const std::string& path,
+ const std::string& type,
uint32_t index,
- const std::string& data_type,
bool is_output)
{
- _target.new_port(map_path(path), index, data_type, is_output);
+ _target.new_port(map_path(path), type, index, is_output);
}
diff --git a/src/shared/ClashAvoider.hpp b/src/shared/ClashAvoider.hpp
index c6501b5f..ac2d62bb 100644
--- a/src/shared/ClashAvoider.hpp
+++ b/src/shared/ClashAvoider.hpp
@@ -56,8 +56,8 @@ public:
const std::string& plugin_uri);
void new_port(const std::string& path,
+ const std::string& type,
uint32_t index,
- const std::string& data_type,
bool is_output);
void connect(const std::string& src_port_path,