Skip to content
Browse files

const

  • Loading branch information...
1 parent 27fa380 commit 778d26e20c75ade65dc8b3a57d60d61651947df6 @erh erh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/scanandorder.h
View
2 db/scanandorder.h
@@ -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 );

0 comments on commit 778d26e

Please sign in to comment.
Something went wrong with that request. Please try again.