Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77051 - trunk/libs/heap/examples
From: tim_at_[hidden]
Date: 2012-02-17 05:17:02


Author: timblechmann
Date: 2012-02-17 05:17:01 EST (Fri, 17 Feb 2012)
New Revision: 77051
URL: http://svn.boost.org/trac/boost/changeset/77051

Log:
heap: fix fixup example

partial fix for ticket #6569

Text files modified:
   trunk/libs/heap/examples/interface.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/heap/examples/interface.cpp
==============================================================================
--- trunk/libs/heap/examples/interface.cpp (original)
+++ trunk/libs/heap/examples/interface.cpp 2012-02-17 05:17:01 EST (Fri, 17 Feb 2012)
@@ -193,10 +193,10 @@
     pq.update(t3);
 
     *t5 = 7;
- pq.increase(t5, 7);
+ pq.increase(t5);
 
     *t1 = 0;
- pq.decrease(t1, 0);
+ pq.decrease(t1);
 
     cout << "Priority Queue: update with fixup" << endl;
     while (!pq.empty()) {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk