summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_builder.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2014-08-04 17:54:34 -0400
committerAndrew Morrow <acm@mongodb.com>2014-08-05 07:06:36 -0400
commit931f48190b276dd783d76ae4071228d6ab1f0bfd (patch)
tree9963cbc9cebbf094aa922f0e9d78bbe94f6a5a81 /src/mongo/db/index_builder.h
parentc13eefdea68c0d493892014d42d8c4bbe687d4c3 (diff)
downloadmongo-931f48190b276dd783d76ae4071228d6ab1f0bfd.tar.gz
SERVER-6018 Replace AtomicUInt with AtomicUInt32
Diffstat (limited to 'src/mongo/db/index_builder.h')
-rw-r--r--src/mongo/db/index_builder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/index_builder.h b/src/mongo/db/index_builder.h
index e825794a4c3..1d3699e6671 100644
--- a/src/mongo/db/index_builder.h
+++ b/src/mongo/db/index_builder.h
@@ -33,6 +33,7 @@
#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"
/**
@@ -76,7 +77,7 @@ namespace mongo {
private:
const BSONObj _index;
std::string _name; // name of this builder, not related to the index
- static AtomicUInt _indexBuildCount;
+ static AtomicUInt32 _indexBuildCount;
};
}