Fix compilation error in release builds

This commit is contained in:
dP
2023-02-03 15:32:41 +04:00
parent 35cf190d5e
commit 5c5e747fd7

View File

@@ -53,7 +53,6 @@ public:
_auto_command = this->automatic;
_current_callback = this->callback;
bool res = this->_post(reinterpret_cast<::CommandCallback *>(reinterpret_cast<void(*)()>(callback)));
assert(_current_callback == nullptr);
_current_callback = nullptr;
_auto_command = false;
_current_company = old;