diff options
| -rw-r--r-- | include/cru/platform/gui/win/InputMethod.h | 2 | ||||
| -rw-r--r-- | src/platform/gui/win/InputMethod.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/cru/platform/gui/win/InputMethod.h b/include/cru/platform/gui/win/InputMethod.h index ab11aafa..c246cbd7 100644 --- a/include/cru/platform/gui/win/InputMethod.h +++ b/include/cru/platform/gui/win/InputMethod.h @@ -22,7 +22,7 @@ class CRU_WIN_GUI_API AutoHIMC { AutoHIMC(AutoHIMC&& other); AutoHIMC& operator=(AutoHIMC&& other); - ~AutoHIMC() override; + ~AutoHIMC(); HWND GetHwnd() const { return hwnd_; } diff --git a/src/platform/gui/win/InputMethod.cpp b/src/platform/gui/win/InputMethod.cpp index 6f5955fb..e5b75cdb 100644 --- a/src/platform/gui/win/InputMethod.cpp +++ b/src/platform/gui/win/InputMethod.cpp @@ -21,7 +21,6 @@ AutoHIMC::AutoHIMC(AutoHIMC&& other) AutoHIMC& AutoHIMC::operator=(AutoHIMC&& other) { if (this != &other) { - Object::operator=(std::move(other)); this->hwnd_ = other.hwnd_; this->handle_ = other.handle_; other.hwnd_ = nullptr; |
