mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[hal] Rename HAL_kInvalidHandle to HAL_INVALID_HANDLE (#8698)
This commit is contained in:
@@ -106,13 +106,13 @@ PyNotifier::PyNotifier(PyNotifier &&rhs)
|
||||
: m_thread(std::move(rhs.m_thread)),
|
||||
m_notifier(rhs.m_notifier.load()),
|
||||
m_handler(std::move(rhs.m_handler)) {
|
||||
rhs.m_notifier = HAL_kInvalidHandle;
|
||||
rhs.m_notifier = HAL_INVALID_HANDLE;
|
||||
}
|
||||
|
||||
PyNotifier &PyNotifier::operator=(PyNotifier &&rhs) {
|
||||
m_thread = std::move(rhs.m_thread);
|
||||
m_notifier = rhs.m_notifier.load();
|
||||
rhs.m_notifier = HAL_kInvalidHandle;
|
||||
rhs.m_notifier = HAL_INVALID_HANDLE;
|
||||
m_handler = std::move(rhs.m_handler);
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user