summaryrefslogtreecommitdiff
path: root/src/mongo/db/sessions_collection.h
diff options
context:
space:
mode:
authorMarcos José Grillo Ramírez <marcos.grillo@10gen.com>2019-10-24 15:29:44 +0000
committerevergreen <evergreen@mongodb.com>2019-10-24 15:29:44 +0000
commit4003ef1b40e4404fc42d8a13db7e3a12946e0832 (patch)
treec0997b9a30a40ac32d5a56724fb975c34c608a39 /src/mongo/db/sessions_collection.h
parentd7469a75b1643157994a44134c9fdb061cca354a (diff)
downloadmongo-4003ef1b40e4404fc42d8a13db7e3a12946e0832.tar.gz
SERVER-42508 Convert SessionsCollection to throw instead of return status Part One: setupSessionsCollection
Diffstat (limited to 'src/mongo/db/sessions_collection.h')
-rw-r--r--src/mongo/db/sessions_collection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/sessions_collection.h b/src/mongo/db/sessions_collection.h
index 7eeaaf0dada..a632e5094d5 100644
--- a/src/mongo/db/sessions_collection.h
+++ b/src/mongo/db/sessions_collection.h
@@ -53,7 +53,7 @@ public:
/**
* Ensures that the sessions collection exists and has the proper indexes.
*/
- virtual Status setupSessionsCollection(OperationContext* opCtx) = 0;
+ virtual void setupSessionsCollection(OperationContext* opCtx) = 0;
/**
* Checks if the sessions collection exists and has the proper indexes.