diff options
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r-- | src/mongo/db/curop.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h index 66201f53fdd..b3f96d66d3a 100644 --- a/src/mongo/db/curop.h +++ b/src/mongo/db/curop.h @@ -38,10 +38,12 @@ #include "mongo/db/server_options.h" #include "mongo/platform/atomic_word.h" #include "mongo/util/concurrency/spin_lock.h" +#include "mongo/util/net/hostandport.h" #include "mongo/util/progress_meter.h" #include "mongo/util/thread_safe_string.h" #include "mongo/util/time_support.h" + namespace mongo { class Client; @@ -195,6 +197,7 @@ namespace mongo { class CurOp { MONGO_DISALLOW_COPYING(CurOp); public: + static CurOp* getFromClient(const Client* client); static CurOp* get(const OperationContext* opCtx); static CurOp* get(const OperationContext& opCtx); |