summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/AggregateOutput.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/sys/AggregateOutput.h')
-rw-r--r--cpp/src/qpid/sys/AggregateOutput.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/AggregateOutput.h b/cpp/src/qpid/sys/AggregateOutput.h
index af26601f76..0b08cd6f5f 100644
--- a/cpp/src/qpid/sys/AggregateOutput.h
+++ b/cpp/src/qpid/sys/AggregateOutput.h
@@ -50,7 +50,7 @@ namespace sys {
void removeOutputTask(OutputTask* t);
/** Apply f to each OutputTask* in the tasks list */
- template <class F> void eachOutput(const F& f) {
+ template <class F> void eachOutput(F f) {
std::for_each(tasks.begin(), tasks.end(), f);
}
};