summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.h
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2015-05-18 13:51:30 -0400
committerErnie Hershey <ernie.hershey@10gen.com>2015-05-18 13:51:30 -0400
commit7147e127644cba2bfa292945557b43664cc31f47 (patch)
treebcd10aa1950bd7be199de910f0891d9bf2b500f8 /src/mongo/db/curop.h
parentd5bf63455aa614d98ac840f09ce5ca6b813b9507 (diff)
downloadmongo-7147e127644cba2bfa292945557b43664cc31f47.tar.gz
Revert "SERVER-18515 Replace OperationContext::getCurOp with CurOp::get(OperationContext*)"
This reverts commit d5bf63455aa614d98ac840f09ce5ca6b813b9507.
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r--src/mongo/db/curop.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h
index 06fe40452e3..634a897c16e 100644
--- a/src/mongo/db/curop.h
+++ b/src/mongo/db/curop.h
@@ -48,7 +48,6 @@ namespace mongo {
class Client;
class Command;
class CurOp;
- class OperationContext;
/**
* stores a copy of a bson obj in a fixed size buffer
@@ -197,8 +196,6 @@ namespace mongo {
public:
static CurOp* get(const Client* client);
static CurOp* get(const Client& client);
- static CurOp* get(const OperationContext* opCtx);
- static CurOp* get(const OperationContext& opCtx);
explicit CurOp(Client* client);
~CurOp();