diff -r 76f4f2ae0e7d -r ba023627ff1a mapstorage.cc --- a/mapstorage.cc Sat Aug 27 09:32:34 2005 +0000 +++ b/mapstorage.cc Fri Sep 16 09:01:20 2005 +0000 @@ -2,6 +2,8 @@ #include #include +#include + MapStorage::MapStorage() : modified(false), file_name("") { nodemap_storage["coordinates_x"] = new Graph::NodeMap(graph); @@ -208,8 +210,8 @@ int i = 0; for (NodeIt n(graph); n != INVALID; ++n) { - nodemap_storage["coordinates_x"]->set(n, 250.0 * cos(i * step)); - nodemap_storage["coordinates_y"]->set(n, 250.0 * sin(i * step)); + nodemap_storage["coordinates_x"]->set(n, 250.0 * std::cos(i * step)); + nodemap_storage["coordinates_y"]->set(n, 250.0 * std::sin(i * step)); i++; } }