mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
fix return value to be a legal null shared_ptr<PortPtr>
This commit is contained in:
parent
92005cd992
commit
71e04c945f
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ protected:
|
|||
boost::shared_ptr<PortMap> p = _portmap.reader ();
|
||||
PortMap::const_iterator it = p->find (port_name);
|
||||
if (it == p->end ()) {
|
||||
return NULL;
|
||||
return BackendPortPtr();
|
||||
}
|
||||
return (*it).second;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue