diff options
Diffstat (limited to 'src/mongo/db/catalog/head_manager.h')
-rw-r--r-- | src/mongo/db/catalog/head_manager.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mongo/db/catalog/head_manager.h b/src/mongo/db/catalog/head_manager.h index f3b198b276e..7a671ccf69f 100644 --- a/src/mongo/db/catalog/head_manager.h +++ b/src/mongo/db/catalog/head_manager.h @@ -32,19 +32,19 @@ namespace mongo { - class OperationContext; +class OperationContext; - /** - * An abstraction for setting and getting data about the 'head' of an index. This is the data - * that lives in the catalog to identify where an index lives. - */ - class HeadManager { - public: - virtual ~HeadManager() { } +/** + * An abstraction for setting and getting data about the 'head' of an index. This is the data + * that lives in the catalog to identify where an index lives. + */ +class HeadManager { +public: + virtual ~HeadManager() {} - virtual const RecordId getHead(OperationContext* txn) const = 0; + virtual const RecordId getHead(OperationContext* txn) const = 0; - virtual void setHead(OperationContext* txn, const RecordId newHead) = 0; - }; + virtual void setHead(OperationContext* txn, const RecordId newHead) = 0; +}; } // namespace mongo |