summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/path.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-06-10 18:08:48 -0400
committerAndrew Morrow <acm@mongodb.com>2015-06-10 22:37:49 -0400
commitd7d1fdb75966c684e9a42150e6e9b69c4a10ee08 (patch)
treed28b0767cbd8c1a09535f1676152e7ac57e829ce /src/mongo/db/matcher/path.h
parenta9b6612f5322f916298c19a6728817a1034c6aab (diff)
downloadmongo-d7d1fdb75966c684e9a42150e6e9b69c4a10ee08.tar.gz
SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>
Diffstat (limited to 'src/mongo/db/matcher/path.h')
-rw-r--r--src/mongo/db/matcher/path.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/db/matcher/path.h b/src/mongo/db/matcher/path.h
index 4aae82af3ef..11fec9ff673 100644
--- a/src/mongo/db/matcher/path.h
+++ b/src/mongo/db/matcher/path.h
@@ -30,7 +30,6 @@
#pragma once
-#include <boost/scoped_ptr.hpp>
#include "mongo/base/status.h"
#include "mongo/base/string_data.h"
@@ -158,13 +157,13 @@ namespace mongo {
BSONElement _theArray;
BSONElement _current;
- boost::scoped_ptr<BSONObjIterator> _iterator;
+ std::unique_ptr<BSONObjIterator> _iterator;
};
ArrayIterationState _arrayIterationState;
- boost::scoped_ptr<ElementIterator> _subCursor;
- boost::scoped_ptr<ElementPath> _subCursorPath;
+ std::unique_ptr<ElementIterator> _subCursor;
+ std::unique_ptr<ElementPath> _subCursorPath;
};
}