summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbdirectclient.h
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@10gen.com>2018-08-14 13:38:17 -0400
committerMatthew Russotto <matthew.russotto@10gen.com>2018-08-14 13:38:17 -0400
commit41005a73c8534953c4627b2a9d82a776e4276f1f (patch)
treea77a2466ab4d7ccc418880c44e0ba7ecca6f2ef0 /src/mongo/db/dbdirectclient.h
parent63c586c5571176a5a68d7d18e836e38e0a905211 (diff)
downloadmongo-41005a73c8534953c4627b2a9d82a776e4276f1f.tar.gz
SERVER-36094 Make DBClientBase::query() take an NamespaceStringOrUUID
Diffstat (limited to 'src/mongo/db/dbdirectclient.h')
-rw-r--r--src/mongo/db/dbdirectclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbdirectclient.h b/src/mongo/db/dbdirectclient.h
index b8f3ebc14d6..929980743b5 100644
--- a/src/mongo/db/dbdirectclient.h
+++ b/src/mongo/db/dbdirectclient.h
@@ -57,7 +57,7 @@ public:
// XXX: is this valid or useful?
void setOpCtx(OperationContext* opCtx);
- virtual std::unique_ptr<DBClientCursor> query(const std::string& ns,
+ virtual std::unique_ptr<DBClientCursor> query(const NamespaceStringOrUUID& nsOrUuid,
Query query,
int nToReturn = 0,
int nToSkip = 0,