diff options
author | David Robillard <d@drobilla.net> | 2009-10-14 16:10:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-14 16:10:01 +0000 |
commit | bb9cc45cd22af67ac275a5e73accbe14fee664d8 (patch) | |
tree | e52977d3eae6ff07b856088041a080a2fa3e5b79 /libs/ardour/bundle.cc | |
parent | 8c4ce1e2ce35571aed5a686671431fdfffae7f8c (diff) |
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent...
git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/bundle.cc')
-rw-r--r-- | libs/ardour/bundle.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/ardour/bundle.cc b/libs/ardour/bundle.cc index c21f239a45..cd416c6a67 100644 --- a/libs/ardour/bundle.cc +++ b/libs/ardour/bundle.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2002 Paul Davis + Copyright (C) 2002 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -84,7 +84,7 @@ Bundle::Bundle (boost::shared_ptr<Bundle> other) _signals_suspended (other->_signals_suspended), _pending_change (other->_pending_change) { - + } uint32_t @@ -136,7 +136,7 @@ Bundle::remove_port_from_channel (uint32_t ch, string portname) Glib::Mutex::Lock lm (_channel_mutex); PortList& pl = _channel[ch].ports; PortList::iterator i = find (pl.begin(), pl.end(), portname); - + if (i != pl.end()) { pl.erase (i); changed = true; @@ -183,7 +183,7 @@ bool Bundle::port_attached_to_channel (uint32_t ch, std::string portname) { assert (ch < nchannels()); - + Glib::Mutex::Lock lm (_channel_mutex); return (std::find (_channel[ch].ports.begin (), _channel[ch].ports.end (), portname) != _channel[ch].ports.end ()); } @@ -283,7 +283,7 @@ void Bundle::add_channels_from_bundle (boost::shared_ptr<Bundle> other) { uint32_t const ch = nchannels (); - + for (uint32_t i = 0; i < other->nchannels(); ++i) { std::stringstream s; @@ -361,7 +361,7 @@ void Bundle::remove_ports_from_channel (uint32_t ch) { assert (ch < nchannels ()); - + { Glib::Mutex::Lock lm (_channel_mutex); _channel[ch].ports.clear (); @@ -396,7 +396,7 @@ Bundle::emit_changed (Change c) Changed (c); } } - + bool Bundle::connected_to (boost::shared_ptr<Bundle> other, AudioEngine & engine) { @@ -410,7 +410,7 @@ Bundle::connected_to (boost::shared_ptr<Bundle> other, AudioEngine & engine) for (uint32_t i = 0; i < nchannels(); ++i) { Bundle::PortList const & A = channel_ports (i); Bundle::PortList const & B = other->channel_ports (i); - + for (uint32_t j = 0; j < A.size(); ++j) { for (uint32_t k = 0; k < B.size(); ++k) { |