diff options
author | David Robillard <d@drobilla.net> | 2011-11-30 23:07:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-30 23:07:41 +0000 |
commit | a11f349d1c0d617bbc4d3fb166d3bc2bd4809ee2 (patch) | |
tree | 80661b560c2efdc25ccb10cce6e718819d8cd497 /src/Patchage.cpp | |
parent | bf389be39b7f6f79a5c483c6f890e4690407a9de (diff) | |
download | patchage-a11f349d1c0d617bbc4d3fb166d3bc2bd4809ee2.tar.gz patchage-a11f349d1c0d617bbc4d3fb166d3bc2bd4809ee2.tar.bz2 patchage-a11f349d1c0d617bbc4d3fb166d3bc2bd4809ee2.zip |
Remove redundant Connection::_source and Connection::_dest.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3708 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r-- | src/Patchage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 13edebe..12f4344 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -533,8 +533,8 @@ Patchage::save_session(bool close) for (FlowCanvas::Canvas::Connections::const_iterator c = _canvas->connections().begin(); c != _canvas->connections().end(); ++c) { - PatchagePort* src = dynamic_cast<PatchagePort*>((*c)->source()); - PatchagePort* dst = dynamic_cast<PatchagePort*>((*c)->dest()); + PatchagePort* src = dynamic_cast<PatchagePort*>((*c)->get_tail()); + PatchagePort* dst = dynamic_cast<PatchagePort*>((*c)->get_head()); if (!src || !dst || src->type() == ALSA_MIDI || dst->type() == ALSA_MIDI) { continue; |