[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.
This commit is contained in:
Lang Hames
2025-11-12 16:36:52 +11:00
committed by GitHub
parent 7d9b7e8c7b
commit a7ceeffb30

View File

@@ -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();