diff options
Diffstat (limited to 'src/mongo/db/matcher/expression_leaf.h')
-rw-r--r-- | src/mongo/db/matcher/expression_leaf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/expression_leaf.h b/src/mongo/db/matcher/expression_leaf.h index 38648f1b127..44f889d707b 100644 --- a/src/mongo/db/matcher/expression_leaf.h +++ b/src/mongo/db/matcher/expression_leaf.h @@ -30,7 +30,6 @@ #pragma once -#include <boost/scoped_ptr.hpp> #include "mongo/bson/bsonobj.h" #include "mongo/bson/bsonmisc.h" @@ -221,7 +220,7 @@ namespace mongo { private: std::string _regex; std::string _flags; - boost::scoped_ptr<pcrecpp::RE> _re; + std::unique_ptr<pcrecpp::RE> _re; }; class ModMatchExpression : public LeafMatchExpression { |