summaryrefslogtreecommitdiff
path: root/src/mongo/unittest
diff options
context:
space:
mode:
authorBynn Lee <bynn.lee@mongodb.com>2021-02-24 21:34:16 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-25 01:55:59 +0000
commitb8107b8e481ae7073d30304196a3028145c80634 (patch)
treecc954ce4d68fd790a38ef7f1fecc825c14f6d9b6 /src/mongo/unittest
parentbff2d6e263a19c85eca7058ceb829ff55b1e2d63 (diff)
downloadmongo-b8107b8e481ae7073d30304196a3028145c80634.tar.gz
Revert "SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumber"
This reverts commit 3307ba57eef2dfff9abe2413e39058ac9451ec04.
Diffstat (limited to 'src/mongo/unittest')
-rw-r--r--src/mongo/unittest/unittest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/unittest/unittest.cpp b/src/mongo/unittest/unittest.cpp
index b7b8b5201b0..df6cca3383a 100644
--- a/src/mongo/unittest/unittest.cpp
+++ b/src/mongo/unittest/unittest.cpp
@@ -119,7 +119,7 @@ public:
BSONObjBuilder bob;
bob.append("name", _name);
bob.append("tests", _tests);
- bob.appendNumber("fails", static_cast<long long>(_fails.size()));
+ bob.appendNumber("fails", _fails.size());
bob.append("asserts", _asserts);
bob.append("time", Milliseconds(_millis).toBSON());
{