diff --git a/src/mongo/util/net/message.h b/src/mongo/util/net/message.h index 8444fc04c4d..e42295c5b6a 100644 --- a/src/mongo/util/net/message.h +++ b/src/mongo/util/net/message.h @@ -338,6 +338,7 @@ inline int ConstView::dataLen() const { class Message { MONGO_DISALLOW_COPYING(Message); + public: // we assume here that a vector with initial size 0 does no allocation (0 is the default, but // wanted to make it explicit).