diff options
Diffstat (limited to 'src/mongo/db/client.h')
-rw-r--r-- | src/mongo/db/client.h | 1 |
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; } |