We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b787da9 + 2e5ac90 commit d122f47Copy full SHA for d122f47
src/mongo/unittest/unittest.h
@@ -418,9 +418,9 @@ namespace mongo {
418
/**
419
* Helper for ASSERT_APPROX_EQUAL to ensure that the arguments are evaluated only once.
420
*/
421
- template < typename A, typename B, typename ERR >
+ template < typename A, typename B, typename ABSOLUTE_ERR >
422
inline void assertApproxEqual(const std::string& aexp, const std::string& bexp,
423
- const A& a, const B& b, const ERR& absoluteErr,
+ const A& a, const B& b, const ABSOLUTE_ERR& absoluteErr,
424
const std::string& file , unsigned line) {
425
if (std::abs(a - b) <= absoluteErr)
426
return;
0 commit comments