summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog.h
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2014-05-19 13:28:28 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2014-05-22 12:18:42 -0400
commit3cb9955b05bdef78cb8f72f63e657d920c0fa0bb (patch)
tree7768ef10ba9b219e22a04905ffa090d56ed1592d /src/mongo/db/repl/oplog.h
parent0d088b82f1490aa7053fdf2748a55162b30970c4 (diff)
downloadmongo-3cb9955b05bdef78cb8f72f63e657d920c0fa0bb.tar.gz
SERVER-14021 move all replication code into namespace replset
Diffstat (limited to 'src/mongo/db/repl/oplog.h')
-rw-r--r--src/mongo/db/repl/oplog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/repl/oplog.h b/src/mongo/db/repl/oplog.h
index 68714dea96d..675348bfc2e 100644
--- a/src/mongo/db/repl/oplog.h
+++ b/src/mongo/db/repl/oplog.h
@@ -29,12 +29,13 @@
#pragma once
namespace mongo {
-
class BSONObj;
class Database;
class OperationContext;
class OpTime;
+namespace replset {
+
// These functions redefine the function for logOp(),
// for either master/slave or replica sets.
void oldRepl(); // master-slave
@@ -112,4 +113,5 @@ namespace mongo {
* Initializes the global OpTime with the value from the timestamp of the last oplog entry.
*/
void initOpTimeFromOplog(const std::string& oplogNS);
-}
+} // namespace replset
+} // namespace mongo