summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-04-10 10:49:33 -0400
committerAndrew Morrow <acm@mongodb.com>2016-04-15 10:08:39 -0400
commit54cf694d82050cc695f826fdc6d0b063a157682c (patch)
tree7ee7e964a985aeed2bd8ef540af82e4605346007 /src/mongo/db
parentc2041cd99ea8ff1aa8bfba2d4bcb3bbd2ea7932c (diff)
downloadmongo-54cf694d82050cc695f826fdc6d0b063a157682c.tar.gz
SERVER-16221 SERVER-23708 Remove invalid cast in DocumentSource test
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/pipeline/document_source_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_test.cpp b/src/mongo/db/pipeline/document_source_test.cpp
index 7b92cd298bf..330b2a319da 100644
--- a/src/mongo/db/pipeline/document_source_test.cpp
+++ b/src/mongo/db/pipeline/document_source_test.cpp
@@ -1462,7 +1462,7 @@ protected:
}
DocumentSource* sample() {
- return static_cast<DocumentSourceSample*>(_sample.get());
+ return _sample.get();
}
DocumentSourceMock* source() {