[geos-commits] [SCM] geos branch svn-3.6 updated. 731a4512f175fc63e2d54f3df1a82f574173de56
git at osgeo.org
git at osgeo.org
Mon Apr 10 22:04:00 PDT 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "geos".
The branch, svn-3.6 has been updated
via 731a4512f175fc63e2d54f3df1a82f574173de56 (commit)
from 939412eacc379e7c4aa33865090fe35c49f225d7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 731a4512f175fc63e2d54f3df1a82f574173de56
Author: Sandro Santilli <strk at kbt.io>
Date: Tue Apr 11 06:59:53 2017 +0200
Fixed compile error in Microsoft VS2010
Patch by sunxunfeng
Closes #801 in 3.6 branch
diff --git a/tests/xmltester/XMLTester.cpp b/tests/xmltester/XMLTester.cpp
index f3192a3..2505232 100644
--- a/tests/xmltester/XMLTester.cpp
+++ b/tests/xmltester/XMLTester.cpp
@@ -39,6 +39,7 @@
#include <geos/operation/buffer/BufferOp.h>
#include <geos/util.h>
#include <geos/util/Interrupt.h>
+#include <geos/util/math.h>
//#include <geos/geomgraph.h>
#include <geos/io/WKBReader.h>
#include <geos/io/WKBWriter.h>
@@ -334,7 +335,7 @@ XMLTester::printTest(bool success, const std::string& expected_result, const std
std::cout << " test" << testCount << ": "
<< opSignature;
std::cout << ": " << (success?"ok.":"failed.");
- std::cout << " (" << std::setprecision(15) << round(prof.getTot()/1000) << " ms)" << std::endl;
+ std::cout << " (" << std::setprecision(15) << geos::util::round(prof.getTot()/1000) << " ms)" << std::endl;
std::cout << "\tDescription: " << curr_case_desc << std::endl;
-----------------------------------------------------------------------
Summary of changes:
tests/xmltester/XMLTester.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
geos
More information about the geos-commits
mailing list