summaryrefslogtreecommitdiff
path: root/src/mongo/db/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/client.h')
-rw-r--r--src/mongo/db/client.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/client.h b/src/mongo/db/client.h
index 8f3e5817c25..2ebfce97d2b 100644
--- a/src/mongo/db/client.h
+++ b/src/mongo/db/client.h
@@ -94,7 +94,6 @@ namespace mongo {
string clientAddress(bool includePort=false) const;
CurOp* curop() const { return _curOp; }
Context* getContext() const { return _context; }
- Database* database() const { return _context ? _context->db() : 0; }
const StringData desc() const { return _desc; }
void setLastOp( OpTime op ) { _lastOp = op; }
OpTime getLastOp() const { return _lastOp; }