diff -r 5b37a10234bc -r a5b8e0fde2be gui/mapstorage.cc --- a/gui/mapstorage.cc Fri Sep 16 09:00:18 2005 +0000 +++ b/gui/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++; } }