summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats/counters.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2014-05-14 11:43:59 -0400
committerAndrew Morrow <acm@mongodb.com>2014-05-17 15:46:27 -0400
commited505aa5f1d386eb8f4109e3506345e98b798049 (patch)
treeed83cb078cb71fa53a9227eaf0329ea3feac502f /src/mongo/db/stats/counters.h
parent1134c0d1fc3dcbde6a457ecd55de1697d7a13f97 (diff)
downloadmongo-ed505aa5f1d386eb8f4109e3506345e98b798049.tar.gz
SERVER-6018 Use AtomicUInt32 instead of old AtomicUint in the BSONObj::Holder ref counter
This reverts commit 4c5319c46f492f00a39ded6f056151ec650abb54 (which was itself a revert), and then removes some questionable debugging logic. Conflicts: src/mongo/bson/bsonobj.h
Diffstat (limited to 'src/mongo/db/stats/counters.h')
-rw-r--r--src/mongo/db/stats/counters.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/stats/counters.h b/src/mongo/db/stats/counters.h
index 9b99198844d..0313ff99e63 100644
--- a/src/mongo/db/stats/counters.h
+++ b/src/mongo/db/stats/counters.h
@@ -30,6 +30,7 @@
#pragma once
#include "mongo/pch.h"
+#include "mongo/bson/util/atomic_int.h"
#include "mongo/db/jsobj.h"
#include "mongo/util/net/message.h"
#include "mongo/util/processinfo.h"