summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/PollableQueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/sys/PollableQueue.h')
-rw-r--r--cpp/src/qpid/sys/PollableQueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/PollableQueue.h b/cpp/src/qpid/sys/PollableQueue.h
index 2c326b998f..3a94c60be0 100644
--- a/cpp/src/qpid/sys/PollableQueue.h
+++ b/cpp/src/qpid/sys/PollableQueue.h
@@ -53,7 +53,7 @@ class PollableQueue {
/** @see forEach() */
template <class F> struct ForEach {
F handleOne;
- ForEach(const F& f) : handleOne(f) {}
+ ForEach(F f) : handleOne(f) {}
void operator()(const iterator& i, const iterator& j) const { std::for_each(i, j, handleOne); }
};