diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-07 16:57:49 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-07 16:57:49 -0600 |
commit | 260afe85ca21ddf3a2e118ccf4079763637fcaa4 (patch) | |
tree | 1b055a006266901c0197e0d2b2a26088587a1dad /libs/ardour/port.cc | |
parent | 32734ce53c4410d78a2f3cdd424f9d6a101e4d38 (diff) |
fix "reset" of shared_ptr<PortPtr>
Diffstat (limited to 'libs/ardour/port.cc')
-rw-r--r-- | libs/ardour/port.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/port.cc b/libs/ardour/port.cc index 7b3ad40ad5..479063292e 100644 --- a/libs/ardour/port.cc +++ b/libs/ardour/port.cc @@ -139,7 +139,7 @@ Port::drop () if (_port_handle) { DEBUG_TRACE (DEBUG::Ports, string_compose ("drop handle for port %1\n", name())); port_engine.unregister_port (_port_handle); - _port_handle = 0; + _port_handle.reset ();; } } |