summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/write_commands
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-01-04 12:23:38 -0500
committerAndrew Morrow <acm@mongodb.com>2015-01-05 18:52:20 -0500
commite782819da4ce547272c653ec85984cacf5e60ff2 (patch)
tree4ed2ffdbe2c74634ed836cde991a2bdd2c9f7bf9 /src/mongo/db/commands/write_commands
parent0c4d932be42022627cd1e8a826fc69cd3edac23f (diff)
downloadmongo-e782819da4ce547272c653ec85984cacf5e60ff2.tar.gz
SERVER-13256 Remove scoped_ptr from pch.h
Diffstat (limited to 'src/mongo/db/commands/write_commands')
-rw-r--r--src/mongo/db/commands/write_commands/batch_executor.cpp3
-rw-r--r--src/mongo/db/commands/write_commands/batch_executor.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/commands/write_commands/batch_executor.cpp b/src/mongo/db/commands/write_commands/batch_executor.cpp
index 21dad098aa0..56e55539508 100644
--- a/src/mongo/db/commands/write_commands/batch_executor.cpp
+++ b/src/mongo/db/commands/write_commands/batch_executor.cpp
@@ -32,6 +32,7 @@
#include "mongo/db/commands/write_commands/batch_executor.h"
+#include <boost/scoped_ptr.hpp>
#include <memory>
#include "mongo/base/error_codes.h"
@@ -73,6 +74,8 @@
namespace mongo {
+ using boost::scoped_ptr;
+
namespace {
/**
diff --git a/src/mongo/db/commands/write_commands/batch_executor.h b/src/mongo/db/commands/write_commands/batch_executor.h
index 21b8ca9f980..3050f66ceca 100644
--- a/src/mongo/db/commands/write_commands/batch_executor.h
+++ b/src/mongo/db/commands/write_commands/batch_executor.h
@@ -28,6 +28,7 @@
#pragma once
+#include <boost/scoped_ptr.hpp>
#include <string>
#include "mongo/base/disallow_copying.h"
@@ -154,7 +155,7 @@ namespace mongo {
LastError* _le;
// Stats
- scoped_ptr<WriteBatchStats> _stats;
+ boost::scoped_ptr<WriteBatchStats> _stats;
};
/**