Ticket #1376: dijkstra_heap_performance.patch

File dijkstra_heap_performance.patch, 894 bytes (added by Dave Abrahams, 15 years ago)
  • libs/graph/test/dijkstra_heap_performance.cpp

    RCS file: /cvsroot/boost/boost/libs/graph/test/dijkstra_heap_performance.cpp,v
    retrieving revision 1.4
    diff -u -r1.4 dijkstra_heap_performance.cpp
     
    2727#include <boost/graph/erdos_renyi_generator.hpp>
    2828#include <boost/type_traits/is_base_and_derived.hpp>
    2929#include <boost/type_traits/is_same.hpp>
     30#include <boost/detail/lightweight_test.hpp>
    3031
    3132using namespace boost;
    3233
     
    145146  run_test(g, "Pairing heap", dijkstra_pairing_heap, binary_heap_distances);
    146147  run_test(g, "Splay heap", dijkstra_splay_heap, binary_heap_distances);
    147148#endif
    148   return 0;
     149  return boost::report_errors();
    149150}