diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-01-04 00:31:41 -0500 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-01-05 18:27:02 -0500 |
commit | b118aa80968dd9e585f8f34b4599bbabefdf6a99 (patch) | |
tree | 7ea9277a276b9539798a544165560f4a726b3a84 /src/mongo/db/pipeline | |
parent | 22fab7c71ff006587b2561eae693c10424e27837 (diff) | |
download | mongo-b118aa80968dd9e585f8f34b4599bbabefdf6a99.tar.gz |
SERVER-13256 Remove using of dynamic_ptr_cast from pch.h
Diffstat (limited to 'src/mongo/db/pipeline')
-rw-r--r-- | src/mongo/db/pipeline/document_source_project.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_project.cpp b/src/mongo/db/pipeline/document_source_project.cpp index 3516d48ae8b..138aa0b622e 100644 --- a/src/mongo/db/pipeline/document_source_project.cpp +++ b/src/mongo/db/pipeline/document_source_project.cpp @@ -31,6 +31,8 @@ #include "mongo/pch.h" #undef MONGO_PCH_WHITELISTED +#include <boost/smart_ptr.hpp> + #include "mongo/db/jsobj.h" #include "mongo/db/pipeline/document.h" #include "mongo/db/pipeline/document_source.h" @@ -78,7 +80,7 @@ namespace mongo { void DocumentSourceProject::optimize() { intrusive_ptr<Expression> pE(pEO->optimize()); - pEO = dynamic_pointer_cast<ExpressionObject>(pE); + pEO = boost::dynamic_pointer_cast<ExpressionObject>(pE); } Value DocumentSourceProject::serialize(bool explain) const { |