From 7c7e8ae412a13800654b7ad41650ce1f889bc6b1 Mon Sep 17 00:00:00 2001 From: Peter Soetens Date: Wed, 24 Jun 2009 14:39:37 +0200 Subject: [PATCH] Add return statement in OutputPortInterface::removeConnection. --- src/PortInterface.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/PortInterface.cpp b/src/PortInterface.cpp index 39eaf10..e291064 100644 --- a/src/PortInterface.cpp +++ b/src/PortInterface.cpp @@ -179,7 +179,7 @@ bool OutputPortInterface::matchConnectionChannel(ChannelElementBase::shared_ptr bool OutputPortInterface::removeConnection(ChannelElementBase::shared_ptr channel) { removeChannel(channel); - connections.delete_if( bind(&OutputPortInterface::matchConnectionChannel, this, channel, _1) ); + return connections.delete_if( bind(&OutputPortInterface::matchConnectionChannel, this, channel, _1) ); } void OutputPortInterface::write(DataSourceBase::shared_ptr source) -- 1.6.0.4