summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/dbclient_cursor.h')
-rw-r--r--src/mongo/client/dbclient_cursor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient_cursor.h b/src/mongo/client/dbclient_cursor.h
index c5cfd1484bb..9499e1ac51b 100644
--- a/src/mongo/client/dbclient_cursor.h
+++ b/src/mongo/client/dbclient_cursor.h
@@ -190,7 +190,7 @@ public:
return _originalHost;
}
- std::string getns() const {
+ StringData getns() const {
return _ns.ns();
}