diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-01-04 12:23:38 -0500 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-01-05 18:52:20 -0500 |
commit | e782819da4ce547272c653ec85984cacf5e60ff2 (patch) | |
tree | 4ed2ffdbe2c74634ed836cde991a2bdd2c9f7bf9 /src/mongo/db/commands/write_commands | |
parent | 0c4d932be42022627cd1e8a826fc69cd3edac23f (diff) | |
download | mongo-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.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/commands/write_commands/batch_executor.h | 3 |
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; }; /** |