Skip to content

Commit 87f67a8

Browse files
committed
minor: style update
1 parent 5de82e9 commit 87f67a8

7 files changed

+8
-7
lines changed

src/mongo/client/bulk_operation_builder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace mongo {
3636
, _ns(ns)
3737
, _ordered(ordered)
3838
, _executed(false)
39-
{}
39+
{}
4040

4141
BulkOperationBuilder::~BulkOperationBuilder() {
4242
std::vector<WriteOperation*>::iterator it;

src/mongo/client/bulk_update_builder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace mongo {
2727
BulkUpdateBuilder::BulkUpdateBuilder(BulkOperationBuilder* const builder, const BSONObj& selector)
2828
: _builder(builder)
2929
, _selector(selector)
30-
{ }
30+
{}
3131

3232
void BulkUpdateBuilder::updateOne(const BSONObj& update) {
3333
UpdateWriteOperation* update_op = new UpdateWriteOperation(_selector, update, 0);

src/mongo/client/bulk_upsert_builder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace mongo {
2626
BulkUpsertBuilder::BulkUpsertBuilder(BulkOperationBuilder* const builder, const BSONObj& selector)
2727
: _builder(builder)
2828
, _selector(selector)
29-
{}
29+
{}
3030

3131
void BulkUpsertBuilder::updateOne(const BSONObj& update) {
3232
UpdateWriteOperation* update_op = new UpdateWriteOperation(

src/mongo/client/delete_write_operation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace mongo {
3131
DeleteWriteOperation::DeleteWriteOperation(const BSONObj& selector, int flags)
3232
: _selector(selector)
3333
, _flags(flags)
34-
{}
34+
{}
3535

3636
Operations DeleteWriteOperation::operationType() const {
3737
return dbDelete;

src/mongo/client/insert_write_operation.cpp

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

2929
InsertWriteOperation::InsertWriteOperation(const BSONObj& doc)
3030
: _doc(doc)
31-
{}
31+
{}
3232

3333
Operations InsertWriteOperation::operationType() const {
3434
return dbInsert;

src/mongo/client/update_write_operation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace mongo {
3434
: _selector(selector)
3535
, _update(update)
3636
, _flags(flags)
37-
{}
37+
{}
3838

3939
Operations UpdateWriteOperation::operationType() const {
4040
return dbUpdate;

src/mongo/client/write_concern.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ namespace mongo {
5151
, _w_str()
5252
, _j(false)
5353
, _fsync(false)
54-
, _timeout(0) {}
54+
, _timeout(0)
55+
{}
5556

5657
int32_t WriteConcern::nodes() const {
5758
invariant(_enabled.test(kW) || (!_enabled.test(kWStr)));

0 commit comments

Comments
 (0)