Boost logo

Boost-Commit :

From: jakevoytko_at_[hidden]
Date: 2007-06-25 22:36:52


Author: jakevoytko
Date: 2007-06-25 22:36:51 EDT (Mon, 25 Jun 2007)
New Revision: 7158
URL: http://svn.boost.org/trac/boost/changeset/7158

Log:
GCC compatibility touch-up.

Text files modified:
   sandbox/SOC/2007/visualization/boost/svg_plot/svg_plot.hpp | 9 ++-------
   sandbox/SOC/2007/visualization/boost/svg_plot/svg_test.cpp | 2 +-
   2 files changed, 3 insertions(+), 8 deletions(-)

Modified: sandbox/SOC/2007/visualization/boost/svg_plot/svg_plot.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/svg_plot.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/svg_plot.hpp 2007-06-25 22:36:51 EDT (Mon, 25 Jun 2007)
@@ -22,11 +22,6 @@
 #include "svg.hpp"
 #include "detail/svg_plot_instruction.hpp"
 
-#include <boost/parameter/name.hpp>
-#include <boost/parameter/preprocessor.hpp>
-
-
-
 
 namespace boost {
 namespace svg {
@@ -325,7 +320,7 @@
 template <class iter>
 void plot_range(svg_plot& _cont, iter _begin, iter _end, std::string _str)
 {
- vector<double> vect(_begin, _end);
+ std::vector<double> vect(_begin, _end);
 
     _cont.plot_range(vect.begin(), vect.end(), _str);
 }
@@ -334,7 +329,7 @@
 void plot_range(svg_plot& _cont, iter _begin, iter _end, std::string _str,
                       svg_color_constant _col)
 {
- vector<double> vect(_begin, _end);
+ std::vector<double> vect(_begin, _end);
 
     _cont.plot_range(vect.begin(), vect.end(), _str, _col);
 }

Modified: sandbox/SOC/2007/visualization/boost/svg_plot/svg_test.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/svg_test.cpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/svg_test.cpp 2007-06-25 22:36:51 EDT (Mon, 25 Jun 2007)
@@ -83,7 +83,7 @@
     plot_range(my_plot, data1.begin(), data1.end(), "Tigers", purple);
     plot_range(my_plot, data3.begin(), data3.end(), "Bears", red);
 
- my_plot.write("D:\\1D_legend_demo.svg");
+ my_plot.write("./test.svg");
 
     return 0;
 }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk