diff options
Diffstat (limited to 'src/mongo/db/geo/r2_region_coverer.h')
-rw-r--r-- | src/mongo/db/geo/r2_region_coverer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/geo/r2_region_coverer.h b/src/mongo/db/geo/r2_region_coverer.h index d3c0620535d..e95da0228a6 100644 --- a/src/mongo/db/geo/r2_region_coverer.h +++ b/src/mongo/db/geo/r2_region_coverer.h @@ -28,6 +28,7 @@ #pragma once +#include <boost/scoped_ptr.hpp> #include <queue> #include "mongo/db/geo/hash.h" @@ -107,8 +108,8 @@ namespace mongo { typedef pair<int, Candidate*> QueueEntry; typedef priority_queue<QueueEntry, vector<QueueEntry>, CompareQueueEntries> CandidateQueue; - scoped_ptr<CandidateQueue> _candidateQueue; // Priority queue owns candidate pointers. - scoped_ptr<vector<GeoHash> > _results; + boost::scoped_ptr<CandidateQueue> _candidateQueue; // Priority queue owns candidate pointers. + boost::scoped_ptr<vector<GeoHash> > _results; }; |