diff options
Diffstat (limited to 'src/mongo/db/concurrency/locker_noop.h')
-rw-r--r-- | src/mongo/db/concurrency/locker_noop.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/concurrency/locker_noop.h b/src/mongo/db/concurrency/locker_noop.h index 6b9ac5227f5..232b0b5f685 100644 --- a/src/mongo/db/concurrency/locker_noop.h +++ b/src/mongo/db/concurrency/locker_noop.h @@ -157,11 +157,13 @@ public: MONGO_UNREACHABLE; } - virtual void getLockerInfo(LockerInfo* lockerInfo) const { + virtual void getLockerInfo(LockerInfo* lockerInfo, + boost::optional<SingleThreadedLockStats> lockStatsBase) const { MONGO_UNREACHABLE; } - virtual boost::optional<LockerInfo> getLockerInfo() const { + virtual boost::optional<LockerInfo> getLockerInfo( + boost::optional<SingleThreadedLockStats> lockStatsBase) const { return boost::none; } |