From bacee3511e840862e9c982c6d0e322b45be72b11 Mon Sep 17 00:00:00 2001 From: Viktor Kirilov Date: Mon, 5 Aug 2019 15:09:28 +0300 Subject: [PATCH] Revert "fix : includeing windows.h header caause error (#258)" This reverts commit 92e8615f2bbe64138d3e54c928a4aba34bc71579. --- doctest/doctest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctest/doctest.h b/doctest/doctest.h index 25f475055..7a175ee83 100644 --- a/doctest/doctest.h +++ b/doctest/doctest.h @@ -3432,7 +3432,7 @@ Approx& Approx::scale(double newScale) { bool operator==(double lhs, const Approx& rhs) { // Thanks to Richard Harris for his help refining this formula return std::fabs(lhs - rhs.m_value) < - rhs.m_epsilon * (rhs.m_scale + (std::max(std::fabs(lhs), std::fabs(rhs.m_value))); + rhs.m_epsilon * (rhs.m_scale + std::max(std::fabs(lhs), std::fabs(rhs.m_value))); } bool operator==(const Approx& lhs, double rhs) { return operator==(rhs, lhs); } bool operator!=(double lhs, const Approx& rhs) { return !operator==(lhs, rhs); }