Skip to content

Commit a7ceeff

Browse files
authored
[orc-rt] Make Session explicitly immovable. (llvm#167640)
NFCI -- the deleted copy constructor already made this immovable. The explicit operations just make clear that this was intentional.
1 parent 7d9b7e8 commit a7ceeff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

orc-rt/include/orc-rt/Session.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ class Session {
4242
// Sessions are not copyable or moveable.
4343
Session(const Session &) = delete;
4444
Session &operator=(const Session &) = delete;
45+
Session(Session &&) = delete;
46+
Session &operator=(Session &&) = delete;
4547

4648
~Session();
4749

0 commit comments

Comments
 (0)