mirror of
https://github.com/zeldaret/botw
synced 2026-07-04 04:30:43 -04:00
ksys: Make BaseProcHandle non-copyable and non-movable to prevent misuse
This commit is contained in:
@@ -14,6 +14,11 @@ public:
|
||||
BaseProcHandle();
|
||||
~BaseProcHandle();
|
||||
|
||||
BaseProcHandle(const BaseProcHandle&) = delete;
|
||||
BaseProcHandle(BaseProcHandle&&) = delete;
|
||||
auto operator=(const BaseProcHandle&) = delete;
|
||||
auto operator=(BaseProcHandle&&) = delete;
|
||||
|
||||
bool isProcReady() const;
|
||||
bool hasProcCreationFailed() const;
|
||||
bool isProcCreationCancelled() const;
|
||||
|
||||
Reference in New Issue
Block a user