mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[sim] Make sure NotifyListener members are initialized
This commit is contained in:
@@ -31,8 +31,8 @@ struct HalCallbackListener {
|
||||
|
||||
explicit operator bool() const { return callback != nullptr; }
|
||||
|
||||
CallbackFunction callback;
|
||||
void* param;
|
||||
CallbackFunction callback = nullptr;
|
||||
void* param = nullptr;
|
||||
};
|
||||
|
||||
} // namespace hal
|
||||
|
||||
Reference in New Issue
Block a user