1.1 --- a/benchmark/bfs-bench.cc Tue Aug 16 19:06:59 2005 +0000
1.2 +++ b/benchmark/bfs-bench.cc Tue Aug 16 20:07:14 2005 +0000
1.3 @@ -1,7 +1,7 @@
1.4 // -*- mode:C++ -*-
1.5
1.6 -#include <queue>
1.7 -#include<math.h>
1.8 +#include<queue>
1.9 +#include<cmath>
1.10 #include<lemon/smart_graph.h>
1.11 #include"bench_tools.h"
1.12
2.1 --- a/benchmark/hcube.cc Tue Aug 16 19:06:59 2005 +0000
2.2 +++ b/benchmark/hcube.cc Tue Aug 16 20:07:14 2005 +0000
2.3 @@ -1,6 +1,6 @@
2.4 // -*- mode:C++ -*-
2.5
2.6 -#include<math.h>
2.7 +#include<cmath>
2.8 #include<lemon/list_graph.h>
2.9 #include<lemon/smart_graph.h>
2.10 #include<lemon/dijkstra.h>
3.1 --- a/gui/broken_edge.cc Tue Aug 16 19:06:59 2005 +0000
3.2 +++ b/gui/broken_edge.cc Tue Aug 16 20:07:14 2005 +0000
3.3 @@ -1,5 +1,5 @@
3.4 #include "broken_edge.h"
3.5 -#include <math.h>
3.6 +#include <cmath>
3.7
3.8 BrokenEdge::BrokenEdge(Gnome::Canvas::Group & g, Gnome::Canvas::Points p, GraphDisplayerCanvas & gc) : Line(g), gdc(gc), isbutton(false)
3.9 {
4.1 --- a/gui/graph_displayer_canvas-edge.cc Tue Aug 16 19:06:59 2005 +0000
4.2 +++ b/gui/graph_displayer_canvas-edge.cc Tue Aug 16 20:07:14 2005 +0000
4.3 @@ -1,6 +1,6 @@
4.4 #include "graph_displayer_canvas.h"
4.5 #include "broken_edge.h"
4.6 -#include <math.h>
4.7 +#include <cmath>
4.8
4.9
4.10 int GraphDisplayerCanvas::changeEdgeWidth (std::string mapname, Graph::Edge edge)
5.1 --- a/gui/graph_displayer_canvas-event.cc Tue Aug 16 19:06:59 2005 +0000
5.2 +++ b/gui/graph_displayer_canvas-event.cc Tue Aug 16 20:07:14 2005 +0000
5.3 @@ -1,6 +1,6 @@
5.4 #include "graph_displayer_canvas.h"
5.5 #include "broken_edge.h"
5.6 -#include <math.h>
5.7 +#include <cmath>
5.8
5.9
5.10 bool GraphDisplayerCanvas::on_expose_event(GdkEventExpose *event)
6.1 --- a/gui/graph_displayer_canvas-node.cc Tue Aug 16 19:06:59 2005 +0000
6.2 +++ b/gui/graph_displayer_canvas-node.cc Tue Aug 16 20:07:14 2005 +0000
6.3 @@ -1,6 +1,6 @@
6.4 #include "graph_displayer_canvas.h"
6.5 #include "broken_edge.h"
6.6 -#include <math.h>
6.7 +#include <cmath>
6.8
6.9
6.10 int GraphDisplayerCanvas::changeNodeRadius (std::string mapname, Graph::Node node)
7.1 --- a/gui/graph_displayer_canvas-zoom.cc Tue Aug 16 19:06:59 2005 +0000
7.2 +++ b/gui/graph_displayer_canvas-zoom.cc Tue Aug 16 20:07:14 2005 +0000
7.3 @@ -1,6 +1,6 @@
7.4 #include "graph_displayer_canvas.h"
7.5 #include "broken_edge.h"
7.6 -#include <math.h>
7.7 +#include <cmath>
7.8
7.9 void GraphDisplayerCanvas::zoomIn()
7.10 {
8.1 --- a/gui/graph_displayer_canvas.cc Tue Aug 16 19:06:59 2005 +0000
8.2 +++ b/gui/graph_displayer_canvas.cc Tue Aug 16 20:07:14 2005 +0000
8.3 @@ -1,6 +1,6 @@
8.4 #include "graph_displayer_canvas.h"
8.5 #include "broken_edge.h"
8.6 -#include <math.h>
8.7 +#include <cmath>
8.8
8.9 GraphDisplayerCanvas::GraphDisplayerCanvas(MapStorage & ms, MapWin & mw, Gtk::Window * mainwin) :
8.10 nodesmap(ms.graph), edgesmap(ms.graph), edgetextmap(ms.graph),