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.cpp | |
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.cpp')
-rw-r--r-- | src/mongo/db/dbmessage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/dbmessage.cpp b/src/mongo/db/dbmessage.cpp index 1b991041094..6941a260bcc 100644 --- a/src/mongo/db/dbmessage.cpp +++ b/src/mongo/db/dbmessage.cpp @@ -211,7 +211,7 @@ void OpQueryReplyBuilder::putInMessage( void replyToQuery(int queryResultFlags, const transport::SessionHandle& session, - Message& requestMsg, + const Message& requestMsg, const void* data, int size, int nReturned, @@ -224,7 +224,7 @@ void replyToQuery(int queryResultFlags, void replyToQuery(int queryResultFlags, const transport::SessionHandle& session, - Message& requestMsg, + const Message& requestMsg, const BSONObj& responseObj) { replyToQuery(queryResultFlags, session, @@ -234,7 +234,7 @@ void replyToQuery(int queryResultFlags, 1); } -void replyToQuery(int queryResultFlags, Message& m, DbResponse& dbresponse, BSONObj obj) { +void replyToQuery(int queryResultFlags, const Message& m, DbResponse& dbresponse, BSONObj obj) { Message resp; replyToQuery(queryResultFlags, resp, obj); dbresponse.response = std::move(resp); |