|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74926 - sandbox/gtl/libs/polygon/test
From: sydorchuk.andriy_at_[hidden]
Date: 2011-10-12 09:53:35
Author: asydorchuk
Date: 2011-10-12 09:53:34 EDT (Wed, 12 Oct 2011)
New Revision: 74926
URL: http://svn.boost.org/trac/boost/changeset/74926
Log:
Minor fix to compile on Linux.
Text files modified:
sandbox/gtl/libs/polygon/test/voronoi_test_helper.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/gtl/libs/polygon/test/voronoi_test_helper.hpp
==============================================================================
--- sandbox/gtl/libs/polygon/test/voronoi_test_helper.hpp (original)
+++ sandbox/gtl/libs/polygon/test/voronoi_test_helper.hpp 2011-10-12 09:53:34 EDT (Wed, 12 Oct 2011)
@@ -212,8 +212,8 @@
template <typename T>
void save_voronoi_input(const directed_line_segment_set_data<T> &segments, const char *file_name) {
std::ofstream ofs(file_name);
- //ofs << segments.size() << std::endl;
- for (directed_line_segment_set_data<T>::iterator_type it = segments.begin();
+ ofs << segments.size() << std::endl;
+ for (typename directed_line_segment_set_data<T>::iterator_type it = segments.begin();
it != segments.end(); ++it) {
ofs << it->low().x() << " " << it->low().y() << " ";
ofs << it->high().x() << " " << it->high().y() << std::endl;
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