diff options
author | Dwight <dwight@10gen.com> | 2012-03-01 17:34:03 -0500 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2012-03-01 17:34:03 -0500 |
commit | bd40833c7e097f79d5ce90828d3fe1a065ca123e (patch) | |
tree | dcc344a496105c20bc694480e6ee269cf1b824cc /src/mongo/db/clientcursor.h | |
parent | df373d4ec0b8225f7c62f33040c12092bb9f0d1a (diff) | |
parent | 2e4f02012cff3e775a8e8ff432b034cbec885817 (diff) | |
download | mongo-bd40833c7e097f79d5ce90828d3fe1a065ca123e.tar.gz |
Merge remote branch 'main_readonly/master'
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r-- | src/mongo/db/clientcursor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index 0351c594dde..40bb7483f0e 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -140,6 +140,7 @@ namespace mongo { } operator bool() { return _c; } ClientCursor * operator-> () { return _c; } + /** Release ownership of the ClientCursor. */ void release() { _c = 0; _id = -1; |