From a15990f2da7ff6c349ed4137aa883e675d2a4a03 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Tue, 4 Nov 2025 09:45:18 -0800 Subject: [PATCH] [orc-rt] Make Session explicitly immovable. 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 fe4f07157385f..fbace053bd72f 100644 --- a/orc-rt/include/orc-rt/Session.h +++ b/orc-rt/include/orc-rt/Session.h @@ -42,6 +42,8 @@ class Session { // Sessions are not copyable or moveable. Session(const Session &) = delete; Session &operator=(const Session &) = delete; + Session(Session &&) = delete; + Session &operator=(Session &&) = delete; ~Session();