summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats/top.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-01-09 18:02:51 -0500
committerAndrew Morrow <acm@mongodb.com>2015-01-15 07:04:26 -0500
commit9f30e21c627e4c73ab0b44e45b7ce657b3e2619f (patch)
tree4863e66baca59d2733c4d8090ed962ef60908d6a /src/mongo/db/stats/top.cpp
parent44cafa7dddde7510aa0a05efce807a2e294fdc6d (diff)
downloadmongo-9f30e21c627e4c73ab0b44e45b7ce657b3e2619f.tar.gz
SERVER-13256 Add usings and qualifications for names from namespace std
Diffstat (limited to 'src/mongo/db/stats/top.cpp')
-rw-r--r--src/mongo/db/stats/top.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/stats/top.cpp b/src/mongo/db/stats/top.cpp
index 7c1be88a76b..a95f1ae7dc6 100644
--- a/src/mongo/db/stats/top.cpp
+++ b/src/mongo/db/stats/top.cpp
@@ -46,6 +46,11 @@
namespace mongo {
+ using std::endl;
+ using std::string;
+ using std::stringstream;
+ using std::vector;
+
Top::UsageData::UsageData( const UsageData& older, const UsageData& newer ) {
// this won't be 100% accurate on rollovers and drop(), but at least it won't be negative
time = (newer.time >= older.time) ? (newer.time - older.time) : newer.time;