Skip to content

Commit 4f5bc65

Browse files
committed
minor: make InsertWriteOperation constructor explicit
1 parent ecd1143 commit 4f5bc65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongo/client/insert_write_operation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace mongo {
2121

2222
class InsertWriteOperation : public WriteOperationBase {
2323
public:
24-
InsertWriteOperation(const BSONObj& doc);
24+
explicit InsertWriteOperation(const BSONObj& doc);
2525

2626
virtual WriteOpType operationType() const;
2727
virtual const char* batchName() const;

0 commit comments

Comments
 (0)