summaryrefslogtreecommitdiff
path: root/src/mongo/util/options_parser/option_section.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-06-10 19:01:38 -0400
committerAndrew Morrow <acm@mongodb.com>2015-06-10 22:38:00 -0400
commit4035cab6b974613af9eb06ac1a92cc39d6ba8e06 (patch)
tree15c606e4514037d563fad28de9c091de3d9e473e /src/mongo/util/options_parser/option_section.cpp
parent1360f243ee7fa662c0ded25a9bc479aa47388446 (diff)
downloadmongo-4035cab6b974613af9eb06ac1a92cc39d6ba8e06.tar.gz
SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptr
Diffstat (limited to 'src/mongo/util/options_parser/option_section.cpp')
-rw-r--r--src/mongo/util/options_parser/option_section.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/util/options_parser/option_section.cpp b/src/mongo/util/options_parser/option_section.cpp
index 5d3646554ee..c996f615ba4 100644
--- a/src/mongo/util/options_parser/option_section.cpp
+++ b/src/mongo/util/options_parser/option_section.cpp
@@ -28,7 +28,6 @@
#include "mongo/util/options_parser/option_section.h"
#include <algorithm>
-#include <boost/shared_ptr.hpp>
#include <iostream>
#include <sstream>
@@ -39,7 +38,7 @@
namespace mongo {
namespace optionenvironment {
- using boost::shared_ptr;
+ using std::shared_ptr;
// Registration interface
@@ -544,11 +543,11 @@ namespace optionenvironment {
}
Status OptionSection::getConstraints(
- std::vector<boost::shared_ptr<Constraint > >* constraints) const {
+ std::vector<std::shared_ptr<Constraint > >* constraints) const {
std::list<OptionDescription>::const_iterator oditerator;
for (oditerator = _options.begin(); oditerator != _options.end(); oditerator++) {
- std::vector<boost::shared_ptr<Constraint> >::const_iterator citerator;
+ std::vector<std::shared_ptr<Constraint> >::const_iterator citerator;
for (citerator = oditerator->_constraints.begin();
citerator != oditerator->_constraints.end(); citerator++) {
constraints->push_back(*citerator);