Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53932 - trunk/libs/graph_parallel/example
From: jewillco_at_[hidden]
Date: 2009-06-15 10:21:38


Author: jewillco
Date: 2009-06-15 10:21:38 EDT (Mon, 15 Jun 2009)
New Revision: 53932
URL: http://svn.boost.org/trac/boost/changeset/53932

Log:
Fixed warnings; refs #3134
Text files modified:
   trunk/libs/graph_parallel/example/breadth_first_search.cpp | 2 +-
   trunk/libs/graph_parallel/example/dijkstra_shortest_paths.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/graph_parallel/example/breadth_first_search.cpp
==============================================================================
--- trunk/libs/graph_parallel/example/breadth_first_search.cpp (original)
+++ trunk/libs/graph_parallel/example/breadth_first_search.cpp 2009-06-15 10:21:38 EDT (Mon, 15 Jun 2009)
@@ -83,7 +83,7 @@
     outfile = argv[2];
   else {
     outfile = filename;
- int i = outfile.rfind('.');
+ size_t i = outfile.rfind('.');
     if (i != std::string::npos)
       outfile.erase(outfile.begin() + i, outfile.end());
     outfile += "-bfs.dot";

Modified: trunk/libs/graph_parallel/example/dijkstra_shortest_paths.cpp
==============================================================================
--- trunk/libs/graph_parallel/example/dijkstra_shortest_paths.cpp (original)
+++ trunk/libs/graph_parallel/example/dijkstra_shortest_paths.cpp 2009-06-15 10:21:38 EDT (Mon, 15 Jun 2009)
@@ -78,7 +78,7 @@
   if (argc > 2)
     outfile = argv[2];
   else {
- int i = outfile.rfind('.');
+ size_t i = outfile.rfind('.');
     if (i != std::string::npos)
       outfile.erase(outfile.begin() + i, outfile.end());
     outfile += "-dijkstra.dot";


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