diff options
author | Adam Midvidy <amidvidy@gmail.com> | 2015-06-05 14:25:55 -0400 |
---|---|---|
committer | Adam Midvidy <amidvidy@gmail.com> | 2015-06-05 17:04:35 -0400 |
commit | de6043e0e7bad7a2bf372858658eed91d4dfdabd (patch) | |
tree | f1643fdf888178afe5ab9a98ad349d0ff67df330 /src/mongo/s/request.cpp | |
parent | aade72218f4e0dde65d5e64673b42b73baf6dec1 (diff) | |
download | mongo-de6043e0e7bad7a2bf372858658eed91d4dfdabd.tar.gz |
SERVER-18292 remove global Strategy instance
Diffstat (limited to 'src/mongo/s/request.cpp')
-rw-r--r-- | src/mongo/s/request.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/request.cpp b/src/mongo/s/request.cpp index 5c231d507c9..6ece1659e93 100644 --- a/src/mongo/s/request.cpp +++ b/src/mongo/s/request.cpp @@ -118,20 +118,20 @@ namespace mongo { << ") for $cmd type ns - can only be 1 or -1", n == 1 || n == -1 ); - STRATEGY->clientCommandOp(*this); + Strategy::clientCommandOp(*this); } else { - STRATEGY->queryOp( *this ); + Strategy::queryOp( *this ); } globalOpCounters.gotOp( op , iscmd ); } else if ( op == dbGetMore ) { - STRATEGY->getMore( *this ); + Strategy::getMore( *this ); globalOpCounters.gotOp( op , iscmd ); } else { - STRATEGY->writeOp( op, *this ); + Strategy::writeOp( op, *this ); // globalOpCounters are handled by write commands. } |