mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
clang-tidy: modernize-use-override (NFC)
Add NOLINT to CommandTestBase due to gmock not adding "override" keyword, which causes warnings on clang.
This commit is contained in:
@@ -24,7 +24,7 @@ class SimValueSource : public glass::DataSource {
|
||||
: DataSource(wpi::Twine{device} + wpi::Twine{'-'} + name),
|
||||
m_callback{HALSIM_RegisterSimValueChangedCallback(
|
||||
handle, this, CallbackFunc, true)} {}
|
||||
~SimValueSource() {
|
||||
~SimValueSource() override {
|
||||
if (m_callback != 0) {
|
||||
HALSIM_CancelSimValueChangedCallback(m_callback);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user