summaryrefslogtreecommitdiff
path: root/src/mongo/db/operation_context_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/operation_context_impl.h')
-rw-r--r--src/mongo/db/operation_context_impl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/operation_context_impl.h b/src/mongo/db/operation_context_impl.h
index bc23dcbb089..2f33944535b 100644
--- a/src/mongo/db/operation_context_impl.h
+++ b/src/mongo/db/operation_context_impl.h
@@ -27,8 +27,10 @@
*/
#pragma once
+#include <boost/optional.hpp>
#include <string>
+#include "mongo/db/logical_session_id.h"
#include "mongo/db/operation_context.h"
namespace mongo {
@@ -43,7 +45,7 @@ public:
private:
friend class ServiceContextMongoD;
- OperationContextImpl(Client* client, unsigned opId);
+ OperationContextImpl(Client* client, unsigned opId, boost::optional<LogicalSessionId> lsid);
};
} // namespace mongo