From 4035cab6b974613af9eb06ac1a92cc39d6ba8e06 Mon Sep 17 00:00:00 2001 From: Andrew Morrow Date: Wed, 10 Jun 2015 19:01:38 -0400 Subject: SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptr --- src/mongo/db/sorter/sorter.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/mongo/db/sorter/sorter.h') 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 #include #include #include @@ -145,7 +144,7 @@ namespace mongo { /// Returns an iterator that merges the passed in iterators template static SortIteratorInterface* merge( - const std::vector >& iters, + const std::vector >& iters, const SortOptions& opts, const Comparator& comp); protected: @@ -202,7 +201,7 @@ namespace mongo { const Settings _settings; std::string _fileName; - boost::shared_ptr _fileDeleter; // Must outlive _file + std::shared_ptr _fileDeleter; // Must outlive _file std::ofstream _file; BufBuilder _buffer; }; @@ -227,7 +226,7 @@ namespace mongo { /* factory functions */ \ template ::mongo::SortIteratorInterface* \ ::mongo::SortIteratorInterface::merge( \ - const std::vector >& iters, \ + const std::vector >& iters, \ const SortOptions& opts, \ const Comparator& comp); \ template ::mongo::Sorter* \ -- cgit v1.2.1