summaryrefslogtreecommitdiff
path: root/src/mongo/db/prefetch.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2013-10-25 18:51:55 -0400
committerEliot Horowitz <eliot@10gen.com>2013-10-26 08:58:48 -0400
commit1c6132d444d3c19a168e7e943d5595df08cfb477 (patch)
tree7ac1f133c536b673d8c1afbba88bfc054f46d5cf /src/mongo/db/prefetch.h
parent98133b76bec6d2b1bcec5329af461bc8b0c14725 (diff)
downloadmongo-1c6132d444d3c19a168e7e943d5595df08cfb477.tar.gz
SERVER-11178: prefecth CatalogHack -> IndexCatalog
Diffstat (limited to 'src/mongo/db/prefetch.h')
-rw-r--r--src/mongo/db/prefetch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/prefetch.h b/src/mongo/db/prefetch.h
index 5666d8f5738..d70a662a754 100644
--- a/src/mongo/db/prefetch.h
+++ b/src/mongo/db/prefetch.h
@@ -31,12 +31,12 @@
#include "mongo/db/diskloc.h"
namespace mongo {
- class NamespaceDetails;
+ class Collection;
// page in both index and data pages for an op from the oplog
void prefetchPagesForReplicatedOp(const BSONObj& op);
// page in pages needed for all index lookups on a given object
- void prefetchIndexPages(NamespaceDetails *nsd, const BSONObj& obj);
+ void prefetchIndexPages(Collection *nsd, const BSONObj& obj);
// page in the data pages for a record associated with an object
void prefetchRecordPages(const char *ns, const BSONObj& obj);