summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_entry.h
diff options
context:
space:
mode:
authorclang-format-7.0.1 <adam.martin@10gen.com>2019-07-26 18:20:35 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-07-27 11:02:23 -0400
commit134a4083953270e8a11430395357fb70a29047ad (patch)
treedd428e1230e31d92b20b393dfdc17ffe7fa79cb6 /src/mongo/db/repl/oplog_entry.h
parent1e46b5049003f427047e723ea5fab15b5a9253ca (diff)
downloadmongo-134a4083953270e8a11430395357fb70a29047ad.tar.gz
SERVER-41772 Apply clang-format 7.0.1 to the codebase
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.h')
-rw-r--r--src/mongo/db/repl/oplog_entry.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/mongo/db/repl/oplog_entry.h b/src/mongo/db/repl/oplog_entry.h
index 7d98aee00f0..24c47432508 100644
--- a/src/mongo/db/repl/oplog_entry.h
+++ b/src/mongo/db/repl/oplog_entry.h
@@ -147,14 +147,15 @@ public:
class OplogEntry : private MutableOplogEntry {
public:
// Make field names accessible.
- using MutableOplogEntry::kDurableReplOperationFieldName;
- using MutableOplogEntry::kOperationSessionInfoFieldName;
using MutableOplogEntry::k_idFieldName;
+ using MutableOplogEntry::kDurableReplOperationFieldName;
using MutableOplogEntry::kFromMigrateFieldName;
using MutableOplogEntry::kHashFieldName;
using MutableOplogEntry::kNssFieldName;
- using MutableOplogEntry::kObjectFieldName;
using MutableOplogEntry::kObject2FieldName;
+ using MutableOplogEntry::kObjectFieldName;
+ using MutableOplogEntry::kOperationSessionInfoFieldName;
+ using MutableOplogEntry::kOplogVersion;
using MutableOplogEntry::kOpTypeFieldName;
using MutableOplogEntry::kPostImageOpTimeFieldName;
using MutableOplogEntry::kPreImageOpTimeFieldName;
@@ -168,38 +169,37 @@ public:
using MutableOplogEntry::kUuidFieldName;
using MutableOplogEntry::kVersionFieldName;
using MutableOplogEntry::kWallClockTimeFieldName;
- using MutableOplogEntry::kOplogVersion;
// Make serialize(), toBSON() and getters accessible.
- using MutableOplogEntry::serialize;
- using MutableOplogEntry::toBSON;
- using MutableOplogEntry::getOperationSessionInfo;
- using MutableOplogEntry::getSessionId;
- using MutableOplogEntry::getTxnNumber;
+ using MutableOplogEntry::get_id;
using MutableOplogEntry::getDurableReplOperation;
- using MutableOplogEntry::getOpType;
+ using MutableOplogEntry::getFromMigrate;
+ using MutableOplogEntry::getHash;
using MutableOplogEntry::getNss;
- using MutableOplogEntry::getUuid;
using MutableOplogEntry::getObject;
using MutableOplogEntry::getObject2;
- using MutableOplogEntry::getUpsert;
- using MutableOplogEntry::getTimestamp;
+ using MutableOplogEntry::getOperationSessionInfo;
+ using MutableOplogEntry::getOpType;
+ using MutableOplogEntry::getPostImageOpTime;
+ using MutableOplogEntry::getPreImageOpTime;
+ using MutableOplogEntry::getPrevWriteOpTimeInTransaction;
+ using MutableOplogEntry::getSessionId;
+ using MutableOplogEntry::getStatementId;
using MutableOplogEntry::getTerm;
- using MutableOplogEntry::getHash;
+ using MutableOplogEntry::getTimestamp;
+ using MutableOplogEntry::getTxnNumber;
+ using MutableOplogEntry::getUpsert;
+ using MutableOplogEntry::getUuid;
using MutableOplogEntry::getVersion;
- using MutableOplogEntry::getFromMigrate;
- using MutableOplogEntry::get_id;
using MutableOplogEntry::getWallClockTime;
- using MutableOplogEntry::getStatementId;
- using MutableOplogEntry::getPrevWriteOpTimeInTransaction;
- using MutableOplogEntry::getPreImageOpTime;
- using MutableOplogEntry::getPostImageOpTime;
+ using MutableOplogEntry::serialize;
+ using MutableOplogEntry::toBSON;
// Make helper functions accessible.
using MutableOplogEntry::getOpTime;
+ using MutableOplogEntry::makeDeleteOperation;
using MutableOplogEntry::makeInsertOperation;
using MutableOplogEntry::makeUpdateOperation;
- using MutableOplogEntry::makeDeleteOperation;
enum class CommandType {
kNotCommand,