summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r--src/mongo/db/namespace_string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h
index 58f26d76b2c..9a88f67a9a3 100644
--- a/src/mongo/db/namespace_string.h
+++ b/src/mongo/db/namespace_string.h
@@ -263,8 +263,8 @@ public:
// @return db() + ".system.indexes"
std::string getSystemIndexesCollection() const;
- // @return db() + ".$cmd"
- std::string getCommandNS() const;
+ // @return {db(), "$cmd"}
+ NamespaceString getCommandNS() const;
/**
* Function to escape most non-alpha characters from file names