summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/master_slave.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/master_slave.cpp')
-rw-r--r--src/mongo/db/repl/master_slave.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/repl/master_slave.cpp b/src/mongo/db/repl/master_slave.cpp
index 742817cc1e4..9a72485e0d9 100644
--- a/src/mongo/db/repl/master_slave.cpp
+++ b/src/mongo/db/repl/master_slave.cpp
@@ -44,6 +44,7 @@
#include <iostream>
#include <pcrecpp.h>
+#include <boost/scoped_ptr.hpp>
#include <boost/thread/thread.hpp>
#include "mongo/db/auth/authorization_manager.h"
@@ -66,8 +67,9 @@
#include "mongo/util/exit.h"
#include "mongo/util/log.h"
-namespace mongo {
+using boost::scoped_ptr;
+namespace mongo {
namespace repl {
void pretouchOperation(OperationContext* txn, const BSONObj& op);