summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats/top.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/stats/top.h')
-rw-r--r--src/mongo/db/stats/top.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/stats/top.h b/src/mongo/db/stats/top.h
index f1586a2b05e..2fcbb620f6c 100644
--- a/src/mongo/db/stats/top.h
+++ b/src/mongo/db/stats/top.h
@@ -108,12 +108,14 @@ public:
void cloneMap(UsageMap& out) const;
- void collectionDropped(StringData ns, bool databaseDropped = false);
+ void collectionDropped(const NamespaceString& nss, bool databaseDropped = false);
/**
* Appends the collection-level latency statistics
*/
- void appendLatencyStats(StringData ns, bool includeHistograms, BSONObjBuilder* builder);
+ void appendLatencyStats(const NamespaceString& nss,
+ bool includeHistograms,
+ BSONObjBuilder* builder);
/**
* Increments the global histogram only if the operation came from a user.