summaryrefslogtreecommitdiff
path: root/libs/ardour/port.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-10-04 14:51:05 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-10-04 14:51:05 -0400
commit4dc63966f0872efe768dad61eb9b8785d06b92d1 (patch)
treee54104d57d6c2da7840979181368151fd0819c96 /libs/ardour/port.cc
parent297e80e020da94a56984b20782584bb1dd96ea34 (diff)
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
Diffstat (limited to 'libs/ardour/port.cc')
-rw-r--r--libs/ardour/port.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/port.cc b/libs/ardour/port.cc
index 677a9fba1e..3218550f99 100644
--- a/libs/ardour/port.cc
+++ b/libs/ardour/port.cc
@@ -119,7 +119,7 @@ Port::connected () const
{
if (_port_handle) {
return (port_engine.connected (_port_handle) != 0);
- }
+ }
return false;
}
@@ -131,7 +131,7 @@ Port::disconnect_all ()
port_engine.disconnect_all (_port_handle);
_connections.clear ();
- /* a cheaper, less hacky way to do boost::shared_from_this() ...
+ /* a cheaper, less hacky way to do boost::shared_from_this() ...
*/
boost::shared_ptr<Port> pself = port_manager->get_port_by_name (name());
PostDisconnect (pself, boost::shared_ptr<Port>()); // emit signal
@@ -147,7 +147,7 @@ bool
Port::connected_to (std::string const & o) const
{
if (!_port_handle) {
- return false;
+ return false;
}
if (!port_engine.available()) {
@@ -217,7 +217,7 @@ Port::disconnect (std::string const & other)
_connections.erase (other);
}
- /* a cheaper, less hacky way to do boost::shared_from_this() ...
+ /* a cheaper, less hacky way to do boost::shared_from_this() ...
*/
boost::shared_ptr<Port> pself = AudioEngine::instance()->get_port_by_name (name());
boost::shared_ptr<Port> pother = AudioEngine::instance()->get_port_by_name (other);
@@ -227,7 +227,7 @@ Port::disconnect (std::string const & other)
a check on whether this may affect anything that we
need to know about.
*/
- PostDisconnect (pself, pother); // emit signal
+ PostDisconnect (pself, pother); // emit signal
}
return r;