# HG changeset patch # User deba # Date 1126861280 0 # Node ID a5b8e0fde2be014084c2f9e27bbbc067e01de2f3 # Parent 5b37a10234bcea834ad2645da35c4400ff014c3f Using std:: prefix for the functions in the c* headers 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++; } }