Skip to content

Commit d122f47

Browse files
committed
Merge pull request mongodb#327 from utaal/processinfo-solarisFix
fix solaris build failure due to collision of template param and macro
2 parents b787da9 + 2e5ac90 commit d122f47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mongo/unittest/unittest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,9 @@ namespace mongo {
418418
/**
419419
* Helper for ASSERT_APPROX_EQUAL to ensure that the arguments are evaluated only once.
420420
*/
421-
template < typename A, typename B, typename ERR >
421+
template < typename A, typename B, typename ABSOLUTE_ERR >
422422
inline void assertApproxEqual(const std::string& aexp, const std::string& bexp,
423-
const A& a, const B& b, const ERR& absoluteErr,
423+
const A& a, const B& b, const ABSOLUTE_ERR& absoluteErr,
424424
const std::string& file , unsigned line) {
425425
if (std::abs(a - b) <= absoluteErr)
426426
return;

0 commit comments

Comments
 (0)