[Lemon-commits] [lemon_svn] deba: r2208 - hugo/trunk/gui
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:50:56 CET 2006
Author: deba
Date: Fri Sep 16 11:01:20 2005
New Revision: 2208
Modified:
hugo/trunk/gui/mapstorage.cc
Log:
Using std:: prefix for the functions in the c* headers
Modified: hugo/trunk/gui/mapstorage.cc
==============================================================================
--- hugo/trunk/gui/mapstorage.cc (original)
+++ hugo/trunk/gui/mapstorage.cc Fri Sep 16 11:01:20 2005
@@ -2,6 +2,8 @@
#include <gtkmm.h>
#include <cmath>
+#include <cmath>
+
MapStorage::MapStorage() : modified(false), file_name("")
{
nodemap_storage["coordinates_x"] = new Graph::NodeMap<double>(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++;
}
}
More information about the Lemon-commits
mailing list