Cleanup
- Removed unnecessary definitions of max() and min(), replaced existent calls with std::max(). Precursor to Bugfix #887. Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
committed by
Paul Beckingham
parent
69fecbb2c0
commit
30a97f5f52
@@ -60,7 +60,7 @@ UnitTest::~UnitTest ()
|
||||
{
|
||||
float percentPassed = 0.0;
|
||||
if (mPlanned > 0)
|
||||
percentPassed = (100.0 * mPassed) / max (mPlanned, mPassed + mFailed + mSkipped);
|
||||
percentPassed = (100.0 * mPassed) / std::max (mPlanned, mPassed + mFailed + mSkipped);
|
||||
|
||||
if (mCounter < mPlanned)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user