summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/make_js_function.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/make_js_function.h')
-rw-r--r--src/mongo/db/pipeline/make_js_function.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/make_js_function.h b/src/mongo/db/pipeline/make_js_function.h
index 7ae894256dc..9b36b23d9a6 100644
--- a/src/mongo/db/pipeline/make_js_function.h
+++ b/src/mongo/db/pipeline/make_js_function.h
@@ -37,7 +37,6 @@ namespace mongo {
/**
* Parses and returns an executable Javascript function.
*/
-ScriptingFunction makeJsFunc(boost::intrusive_ptr<ExpressionContext> expCtx,
- const std::string& func);
+ScriptingFunction makeJsFunc(ExpressionContext* const expCtx, const std::string& func);
} // namespace mongo