diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-12-30 14:54:38 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-01-03 11:11:50 -0500 |
commit | 77b263defe4ce37eb31fa5f7dda52018b148d63a (patch) | |
tree | bc6e25684005a6aa467640f8db9da57b5f135fff /src/mongo/db/dbmessage.h | |
parent | 1346352ff66b163fb010a270d1826c18699f3b36 (diff) | |
download | mongo-77b263defe4ce37eb31fa5f7dda52018b148d63a.tar.gz |
SERVER-27556 Cleanup sharding request processing code
No functional changes, just going in the direction of removing
request.h/.cpp.
Diffstat (limited to 'src/mongo/db/dbmessage.h')
-rw-r--r-- | src/mongo/db/dbmessage.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/dbmessage.h b/src/mongo/db/dbmessage.h index 405b96c35af..4b070c128b1 100644 --- a/src/mongo/db/dbmessage.h +++ b/src/mongo/db/dbmessage.h @@ -378,7 +378,7 @@ private: void replyToQuery(int queryResultFlags, const transport::SessionHandle& session, - Message& requestMsg, + const Message& requestMsg, const void* data, int size, int nReturned, @@ -388,11 +388,11 @@ void replyToQuery(int queryResultFlags, /* object reply helper. */ void replyToQuery(int queryResultFlags, const transport::SessionHandle& session, - Message& requestMsg, + const Message& requestMsg, const BSONObj& responseObj); /* helper to do a reply using a DbResponse object */ -void replyToQuery(int queryResultFlags, Message& m, DbResponse& dbresponse, BSONObj obj); +void replyToQuery(int queryResultFlags, const Message& m, DbResponse& dbresponse, BSONObj obj); /** * Helper method for setting up a response object. |