summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/broker/TxAccept.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/qpid/broker/TxAccept.cpp')
-rw-r--r--qpid/cpp/src/qpid/broker/TxAccept.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/broker/TxAccept.cpp b/qpid/cpp/src/qpid/broker/TxAccept.cpp
index c7001e5526..73f365d509 100644
--- a/qpid/cpp/src/qpid/broker/TxAccept.cpp
+++ b/qpid/cpp/src/qpid/broker/TxAccept.cpp
@@ -50,12 +50,12 @@ void TxAccept::RangeOps::operator()(SequenceNumber start, SequenceNumber end)
void TxAccept::RangeOps::prepare(TransactionContext* ctxt)
{
- for_each(ranges.begin(), ranges.end(), bind(&RangeOp::prepare, _1, ctxt));
+ std::for_each(ranges.begin(), ranges.end(), bind(&RangeOp::prepare, _1, ctxt));
}
void TxAccept::RangeOps::commit()
{
- for_each(ranges.begin(), ranges.end(), bind(&RangeOp::commit, _1));
+ std::for_each(ranges.begin(), ranges.end(), bind(&RangeOp::commit, _1));
//now remove if isRedundant():
if (!ranges.empty()) {
ack_iterator i = ranges.front().range.start;