mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
const
This commit is contained in:
parent
27fa380225
commit
778d26e20c
@ -50,7 +50,7 @@ namespace mongo {
|
||||
_ response size limit from runquery; push it up a bit.
|
||||
*/
|
||||
|
||||
inline void fillQueryResultFromObj(BufBuilder& bb, Projection *filter, BSONObj& js, DiskLoc* loc=NULL) {
|
||||
inline void fillQueryResultFromObj(BufBuilder& bb, Projection *filter, const BSONObj& js, DiskLoc* loc=NULL) {
|
||||
if ( filter ) {
|
||||
BSONObjBuilder b( bb );
|
||||
filter->transform( js , b );
|
||||
|
Loading…
Reference in New Issue
Block a user