From b22dd47558cc11572d080ac25808012092dda597 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 26 Sep 2008 17:11:19 +0000 Subject: Fix build problems on rhel 5.2 and 64-bit encoding bug. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@699413 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/PollableQueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/sys/PollableQueue.h') 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 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); } }; -- cgit v1.2.1