diff options
Diffstat (limited to 'src/mongo/db/index_builder.h')
-rw-r--r-- | src/mongo/db/index_builder.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/db/index_builder.h b/src/mongo/db/index_builder.h index 9c71ec7c85d..29364757526 100644 --- a/src/mongo/db/index_builder.h +++ b/src/mongo/db/index_builder.h @@ -30,20 +30,21 @@ #include <string> +#include "mongo/base/status.h" #include "mongo/db/catalog/index_catalog.h" -#include "mongo/db/client.h" #include "mongo/db/jsobj.h" #include "mongo/platform/atomic_word.h" #include "mongo/util/background.h" -/** - * Forks off a thread to build an index. - */ namespace mongo { class Collection; + class Database; class OperationContext; + /** + * Forks off a thread to build an index. + */ class IndexBuilder : public BackgroundJob { public: IndexBuilder(const BSONObj& index); |