summaryrefslogtreecommitdiff
path: root/src/mongo/db/clientlistplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/clientlistplugin.cpp')
-rw-r--r--src/mongo/db/clientlistplugin.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/clientlistplugin.cpp b/src/mongo/db/clientlistplugin.cpp
index 42499f5c116..aaffdd83492 100644
--- a/src/mongo/db/clientlistplugin.cpp
+++ b/src/mongo/db/clientlistplugin.cpp
@@ -28,7 +28,6 @@
#include "mongo/platform/basic.h"
-#include <boost/scoped_ptr.hpp>
#include <boost/thread/locks.hpp>
#include "mongo/bson/bsonobjbuilder.h"
@@ -47,7 +46,7 @@
namespace mongo {
- using boost::scoped_ptr;
+ using std::unique_ptr;
using std::string;
namespace {
@@ -169,7 +168,7 @@ namespace {
string& errmsg,
BSONObjBuilder& result) {
- scoped_ptr<MatchExpression> filter;
+ unique_ptr<MatchExpression> filter;
if ( cmdObj["filter"].isABSONObj() ) {
StatusWithMatchExpression res =
MatchExpressionParser::parse( cmdObj["filter"].Obj() );