From 83383eb160f904c699b399ac59ccbbf103ad6102 Mon Sep 17 00:00:00 2001 From: Jonathan Reams Date: Wed, 27 Mar 2019 12:06:48 -0400 Subject: SERVER-40356 Make ConstDataRange constructable from any byte-like type --- src/mongo/db/traffic_recorder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/traffic_recorder.cpp') 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>(packet.order)); auto size = db.size() + toWrite.size(); - uassertStatusOK(db.getCursor().write>(size)); + db.getCursor().write>(size); { stdx::lock_guard lk(_mutex); -- cgit v1.2.1