mirror of https://github.com/zeldaret/botw.git
ksys: Make BaseProcHandle non-copyable and non-movable to prevent misuse
This commit is contained in:
parent
4f2c0a6079
commit
7efbe9a071
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue