summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_entry.h
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-07-29 15:28:20 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-02 23:52:53 +0000
commit27f328ad14b8fbc006c5c4103becd0f6a3aaaa5c (patch)
treedf483a3165f012efe9c395e4bae67aa8097fe1ab /src/mongo/db/repl/oplog_entry.h
parenteae9041c1c1320a15a6b13f3f1d4770a2b96e085 (diff)
downloadmongo-27f328ad14b8fbc006c5c4103becd0f6a3aaaa5c.tar.gz
SERVER-57446 fix clang-tidy header issues and add header-filter
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.h')
-rw-r--r--src/mongo/db/repl/oplog_entry.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/repl/oplog_entry.h b/src/mongo/db/repl/oplog_entry.h
index 7c39c7618c2..021261c64d6 100644
--- a/src/mongo/db/repl/oplog_entry.h
+++ b/src/mongo/db/repl/oplog_entry.h
@@ -93,7 +93,7 @@ public:
static ReplOperation makeInsertOperation(const NamespaceString& nss,
UUID uuid,
const BSONObj& docToInsert);
- static ReplOperation makeUpdateOperation(const NamespaceString nss,
+ static ReplOperation makeUpdateOperation(NamespaceString nss,
UUID uuid,
const BSONObj& update,
const BSONObj& criteria);
@@ -101,11 +101,11 @@ public:
UUID uuid,
const BSONObj& docToDelete);
- static ReplOperation makeCreateCommand(const NamespaceString nss,
+ static ReplOperation makeCreateCommand(NamespaceString nss,
const mongo::CollectionOptions& options,
const BSONObj& idIndex);
- static ReplOperation makeCreateIndexesCommand(const NamespaceString nss,
+ static ReplOperation makeCreateIndexesCommand(NamespaceString nss,
CollectionUUID uuid,
const BSONObj& indexDoc);
@@ -305,7 +305,7 @@ public:
static StatusWith<DurableOplogEntry> parse(const BSONObj& object);
DurableOplogEntry(OpTime opTime,
- const boost::optional<int64_t> hash,
+ boost::optional<int64_t> hash,
OpTypeEnum opType,
const NamespaceString& nss,
const boost::optional<UUID>& uuid,