Skip to content

Commit

Permalink
fix linux build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
U-tellus\cwestin committed Feb 15, 2012
1 parent 1645b28 commit e32c214
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mongo/db/pipeline/document_source_project.cpp
Expand Up @@ -249,7 +249,8 @@ namespace mongo {
list of dependencies, because this product will satisfy that
dependency.
*/
pEO->emitPaths(&DependencyRemover(pTracker));
DependencyRemover dependencyRemover(pTracker);
pEO->emitPaths(&dependencyRemover);

/*
Look at the exclusions of this projection. If any of them are
Expand All @@ -261,7 +262,8 @@ namespace mongo {
a new computed product field name. The latter would satisfy the
dependency.
*/
pEO->emitPaths(&DependencyChecker(pTracker, this));
DependencyChecker dependencyChecker(pTracker, this);
pEO->emitPaths(&dependencyChecker);

/*
Look at the products of this projection. For inclusions, add the
Expand Down

0 comments on commit e32c214

Please sign in to comment.