mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
fix keyboard input in Windows (#537)
This commit is contained in:
parent
9cd95bb0eb
commit
2e181259d7
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ public:
|
|||
|
||||
ObserverHandler(ObserverHandler&& handler) noexcept
|
||||
: destructor(std::move(handler.destructor)) {
|
||||
handler.destructor = nullptr;
|
||||
}
|
||||
|
||||
~ObserverHandler() {
|
||||
|
|
@ -33,6 +34,7 @@ public:
|
|||
destructor();
|
||||
}
|
||||
destructor = std::move(handler.destructor);
|
||||
handler.destructor = nullptr;
|
||||
return *this;
|
||||
}
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue