diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-06-10 19:01:38 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-06-10 22:38:00 -0400 |
commit | 4035cab6b974613af9eb06ac1a92cc39d6ba8e06 (patch) | |
tree | 15c606e4514037d563fad28de9c091de3d9e473e /src/mongo/db/sorter/sorter.h | |
parent | 1360f243ee7fa662c0ded25a9bc479aa47388446 (diff) | |
download | mongo-4035cab6b974613af9eb06ac1a92cc39d6ba8e06.tar.gz |
SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptr
Diffstat (limited to 'src/mongo/db/sorter/sorter.h')
-rw-r--r-- | src/mongo/db/sorter/sorter.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/db/sorter/sorter.h b/src/mongo/db/sorter/sorter.h index 49840ddd94d..d8a117d83ee 100644 --- a/src/mongo/db/sorter/sorter.h +++ b/src/mongo/db/sorter/sorter.h @@ -28,7 +28,6 @@ #pragma once -#include <boost/shared_ptr.hpp> #include <deque> #include <fstream> #include <string> @@ -145,7 +144,7 @@ namespace mongo { /// Returns an iterator that merges the passed in iterators template <typename Comparator> static SortIteratorInterface* merge( - const std::vector<boost::shared_ptr<SortIteratorInterface> >& iters, + const std::vector<std::shared_ptr<SortIteratorInterface> >& iters, const SortOptions& opts, const Comparator& comp); protected: @@ -202,7 +201,7 @@ namespace mongo { const Settings _settings; std::string _fileName; - boost::shared_ptr<sorter::FileDeleter> _fileDeleter; // Must outlive _file + std::shared_ptr<sorter::FileDeleter> _fileDeleter; // Must outlive _file std::ofstream _file; BufBuilder _buffer; }; @@ -227,7 +226,7 @@ namespace mongo { /* factory functions */ \ template ::mongo::SortIteratorInterface<Key, Value>* \ ::mongo::SortIteratorInterface<Key, Value>::merge<Comparator>( \ - const std::vector<boost::shared_ptr<SortIteratorInterface> >& iters, \ + const std::vector<std::shared_ptr<SortIteratorInterface> >& iters, \ const SortOptions& opts, \ const Comparator& comp); \ template ::mongo::Sorter<Key, Value>* \ |