mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 02:38:07 +08:00
[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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user