summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-07-14 11:50:42 -0400
committerEliot Horowitz <eliot@10gen.com>2010-07-14 11:53:27 -0400
commitede2c74ab4333ade62f1e476ab55c0f1df512e7d (patch)
tree4661c262397d48c1b0ccd4a4c1d7d73953992a60
parent538e71eea1df905664a9b0d0427e35da133a98fd (diff)
downloadmongo-ede2c74ab4333ade62f1e476ab55c0f1df512e7d.tar.gz
don't inline in cpp SERVER-1420
-rw-r--r--client/dbclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dbclient.cpp b/client/dbclient.cpp
index 109a19bee2b..e50516db128 100644
--- a/client/dbclient.cpp
+++ b/client/dbclient.cpp
@@ -915,7 +915,7 @@ namespace mongo {
uassert( 10009 , "checkmaster: no master found", false);
}
- inline DBClientConnection& DBClientPaired::checkMaster() {
+ DBClientConnection& DBClientPaired::checkMaster() {
if ( master > NotSetR ) {
// a master is selected. let's just make sure connection didn't die
DBClientConnection& c = master == Left ? left : right;