diff options
Diffstat (limited to 'src/mongo/s/query/cluster_cursor_manager.h')
-rw-r--r-- | src/mongo/s/query/cluster_cursor_manager.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/s/query/cluster_cursor_manager.h b/src/mongo/s/query/cluster_cursor_manager.h index 6bd9e20c3a6..d3392c9a0c0 100644 --- a/src/mongo/s/query/cluster_cursor_manager.h +++ b/src/mongo/s/query/cluster_cursor_manager.h @@ -29,7 +29,6 @@ #pragma once #include <memory> -#include <utility> #include <vector> #include "mongo/db/cursor_id.h" @@ -370,8 +369,8 @@ public: */ std::vector<GenericCursor> getAllCursors() const; - std::pair<Status, int> killCursorsWithMatchingSessions(OperationContext* opCtx, - const SessionKiller::Matcher& matcher); + Status killCursorsWithMatchingSessions(OperationContext* opCtx, + const SessionKiller::Matcher& matcher); /** * Returns a list of all open cursors for the given session. |