A large function call parameter or exception catch statement is passed by value
Defect 76591 (STATIC_C)
Checker PASS_BY_VALUE (subcategory none)
File: /src/mongo/s/query/cluster_client_cursor_impl.cpp
Function mongo::ClusterClientCursorImpl::ClusterClientCursorImpl(mongo::executor::TaskExecutor *, mongo::ClusterClientCursorParams)
/src/mongo/s/query/cluster_client_cursor_impl.cpp, line: 45
Passing parameter params of type "mongo::ClusterClientCursorParams" (size 160 bytes) by value.
ClusterClientCursorParams params)
- duplicates
-
SERVER-20949 ClusterClientCursorParams should not be passed by value
- Closed