Commit 731a4512 authored by Sandro Santilli's avatar Sandro Santilli

Fixed compile error in Microsoft VS2010

Patch by sunxunfeng
Closes #801 in 3.6 branch
parent 939412ea
Pipeline #7568056 passed with stage
in 33 minutes and 43 seconds
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment