summaryrefslogtreecommitdiff
path: root/src/mongo/db/assemble_response.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/assemble_response.h')
-rw-r--r--src/mongo/db/assemble_response.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/db/assemble_response.h b/src/mongo/db/assemble_response.h
index 9a50dd52dd3..96d1ade53c9 100644
--- a/src/mongo/db/assemble_response.h
+++ b/src/mongo/db/assemble_response.h
@@ -40,9 +40,8 @@ class OperationContext;
// to indicate that the call is on behalf of a DBDirectClient.
extern const HostAndPort kHostAndPortForDirectClient;
-void assembleResponse(OperationContext* opCtx,
- Message& m,
- DbResponse& dbresponse,
- const HostAndPort& client);
+DbResponse assembleResponse(OperationContext* opCtx,
+ const Message& request,
+ const HostAndPort& client);
} // namespace mongo