summaryrefslogtreecommitdiff
path: root/src/mongo/s/request.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-04-13 18:28:19 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-04-16 16:55:28 -0400
commit5ae0a2505ca14442ca6473b2d713be4e84958e6b (patch)
treec39ababf3c4c31502eadb3d26107c53594667017 /src/mongo/s/request.cpp
parenta64b7af35ab0463276645e8d4637569c0ccdfd73 (diff)
downloadmongo-5ae0a2505ca14442ca6473b2d713be4e84958e6b.tar.gz
SERVER-17817 Remove ClientInfo class.
Diffstat (limited to 'src/mongo/s/request.cpp')
-rw-r--r--src/mongo/s/request.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/request.cpp b/src/mongo/s/request.cpp
index a629478a366..8c8b40dc608 100644
--- a/src/mongo/s/request.cpp
+++ b/src/mongo/s/request.cpp
@@ -35,9 +35,9 @@
#include "mongo/s/request.h"
#include "mongo/db/auth/authorization_session.h"
+#include "mongo/db/client.h"
#include "mongo/db/commands.h"
#include "mongo/db/stats/counters.h"
-#include "mongo/s/client_info.h"
#include "mongo/s/cluster_last_error_info.h"
#include "mongo/s/cursors.h"
#include "mongo/s/grid.h"
@@ -51,7 +51,7 @@ namespace mongo {
using std::string;
Request::Request(Message& m, AbstractMessagingPort* p)
- : _clientInfo(ClientInfo::get()),
+ : _clientInfo(&cc()),
_m(m),
_d(m),
_p(p),