summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/cursor_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/cursor_manager.h')
-rw-r--r--src/mongo/db/catalog/cursor_manager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/cursor_manager.h b/src/mongo/db/catalog/cursor_manager.h
index af94d917f79..3f92e8eaf69 100644
--- a/src/mongo/db/catalog/cursor_manager.h
+++ b/src/mongo/db/catalog/cursor_manager.h
@@ -30,6 +30,8 @@
#pragma once
+#include <boost/scoped_ptr.hpp>
+
#include "mongo/db/clientcursor.h"
#include "mongo/db/invalidation_type.h"
#include "mongo/db/namespace_string.h"
@@ -133,7 +135,7 @@ namespace mongo {
NamespaceString _nss;
unsigned _collectionCacheRuntimeId;
- scoped_ptr<PseudoRandom> _random;
+ boost::scoped_ptr<PseudoRandom> _random;
SimpleMutex _mutex;