From a7ceeffb30b1b785ab5d5f86ff12e79cd7cb9df6 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 12 Nov 2025 16:36:52 +1100 Subject: [PATCH] [orc-rt] Make Session explicitly immovable. (#167640) NFCI -- the deleted copy constructor already made this immovable. The explicit operations just make clear that this was intentional. --- orc-rt/include/orc-rt/Session.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/orc-rt/include/orc-rt/Session.h b/orc-rt/include/orc-rt/Session.h index fe4f07157385..fbace053bd72 100644 --- a/orc-rt/include/orc-rt/Session.h +++ b/orc-rt/include/orc-rt/Session.h @@ -42,6 +42,8 @@ public: // Sessions are not copyable or moveable. Session(const Session &) = delete; Session &operator=(const Session &) = delete; + Session(Session &&) = delete; + Session &operator=(Session &&) = delete; ~Session();