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