diff options
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r-- | src/mongo/db/clientcursor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index f6a97bfe4c9..f0f8772df73 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -268,10 +268,10 @@ private: ~ClientCursor(); /** - * Marks this cursor as killed, so any future uses will return an error status including - * 'reason'. + * Marks this cursor as killed, so any future uses will return 'killStatus'. It is an error to + * call this method with Status::OK. */ - void markAsKilled(const std::string& reason); + void markAsKilled(Status killStatus); /** * Disposes this ClientCursor's PlanExecutor. Must be called before deleting a ClientCursor to |