diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2019-03-27 12:06:48 -0400 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2019-04-06 12:40:33 -0400 |
commit | 83383eb160f904c699b399ac59ccbbf103ad6102 (patch) | |
tree | d82abc4d7f7f10181b103461c936682813787e56 /src/mongo/db/traffic_recorder.cpp | |
parent | 652d22504d2990b2322aefc272b489e731edd789 (diff) | |
download | mongo-83383eb160f904c699b399ac59ccbbf103ad6102.tar.gz |
SERVER-40356 Make ConstDataRange constructable from any byte-like type
Diffstat (limited to 'src/mongo/db/traffic_recorder.cpp')
-rw-r--r-- | src/mongo/db/traffic_recorder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/traffic_recorder.cpp b/src/mongo/db/traffic_recorder.cpp index 8e73b91d37a..320f1f2b6ff 100644 --- a/src/mongo/db/traffic_recorder.cpp +++ b/src/mongo/db/traffic_recorder.cpp @@ -130,7 +130,7 @@ public: uassertStatusOK(db.writeAndAdvance<LittleEndian<uint64_t>>(packet.order)); auto size = db.size() + toWrite.size(); - uassertStatusOK(db.getCursor().write<LittleEndian<uint32_t>>(size)); + db.getCursor().write<LittleEndian<uint32_t>>(size); { stdx::lock_guard<stdx::mutex> lk(_mutex); |