diff options
author | Bynn Lee <bynn.lee@mongodb.com> | 2021-02-24 21:34:16 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-25 01:55:59 +0000 |
commit | b8107b8e481ae7073d30304196a3028145c80634 (patch) | |
tree | cc954ce4d68fd790a38ef7f1fecc825c14f6d9b6 /src/mongo/db/commands/generic_servers.cpp | |
parent | bff2d6e263a19c85eca7058ceb829ff55b1e2d63 (diff) | |
download | mongo-b8107b8e481ae7073d30304196a3028145c80634.tar.gz |
Revert "SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumber"
This reverts commit 3307ba57eef2dfff9abe2413e39058ac9451ec04.
Diffstat (limited to 'src/mongo/db/commands/generic_servers.cpp')
-rw-r--r-- | src/mongo/db/commands/generic_servers.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/commands/generic_servers.cpp b/src/mongo/db/commands/generic_servers.cpp index e25588af7a4..342acc56b63 100644 --- a/src/mongo/db/commands/generic_servers.cpp +++ b/src/mongo/db/commands/generic_servers.cpp @@ -279,8 +279,7 @@ public: } typename RamLogType::LineIterator rl(ramlog); - result.appendNumber("totalLinesWritten", - static_cast<long long>(rl.getTotalLinesWritten())); + result.appendNumber("totalLinesWritten", rl.getTotalLinesWritten()); BSONArrayBuilder arr(result.subarrayStart("log")); while (rl.more()) |