Skip to content

Commit

Permalink
const
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Nov 16, 2010
1 parent 27fa380 commit 778d26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/scanandorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 778d26e

Please sign in to comment.