diff options
Diffstat (limited to 'libs/ardour/bundle.cc')
-rw-r--r-- | libs/ardour/bundle.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/bundle.cc b/libs/ardour/bundle.cc index 37e4733e14..1948024d91 100644 --- a/libs/ardour/bundle.cc +++ b/libs/ardour/bundle.cc @@ -421,8 +421,8 @@ Bundle::connected_to (boost::shared_ptr<Bundle> other, AudioEngine & engine) for (uint32_t j = 0; j < A.size(); ++j) { for (uint32_t k = 0; k < B.size(); ++k) { - Port* p = engine.get_port_by_name (A[j]); - Port* q = engine.get_port_by_name (B[k]); + boost::shared_ptr<Port> p = engine.get_port_by_name (A[j]); + boost::shared_ptr<Port> q = engine.get_port_by_name (B[k]); if (!p && !q) { return false; |