[geos-commits] [SCM] geos branch svn-trunk updated. c505c8ac87e27a271f261f17e155598c9bcb2aaa

git at osgeo.org git at osgeo.org
Mon Apr 10 22:00:59 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-trunk has been updated
       via  c505c8ac87e27a271f261f17e155598c9bcb2aaa (commit)
      from  667d18feff7acc6fa35fddc26d5884fc67b710dc (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 c505c8ac87e27a271f261f17e155598c9bcb2aaa
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
    See #801

diff --git a/tests/xmltester/XMLTester.cpp b/tests/xmltester/XMLTester.cpp
index 2d537a2..3f70ed4 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