summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_limit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_limit.h')
-rw-r--r--src/mongo/db/pipeline/document_source_limit.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/pipeline/document_source_limit.h b/src/mongo/db/pipeline/document_source_limit.h
index 947038111a1..0a5ed1428a5 100644
--- a/src/mongo/db/pipeline/document_source_limit.h
+++ b/src/mongo/db/pipeline/document_source_limit.h
@@ -63,11 +63,6 @@ public:
return kStageName.rawData();
}
- BSONObjSet getOutputSorts() final {
- return pSource ? pSource->getOutputSorts()
- : SimpleBSONObjComparator::kInstance.makeBSONObjSet();
- }
-
/**
* Attempts to combine with a subsequent $limit stage, setting 'limit' appropriately.
*/