mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11: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:
@@ -29,7 +29,7 @@ class ShuffleboardComponent : public ShuffleboardComponentBase {
|
||||
ShuffleboardComponent(ShuffleboardContainer& parent, const wpi::Twine& title,
|
||||
const wpi::Twine& type = "");
|
||||
|
||||
virtual ~ShuffleboardComponent() = default;
|
||||
~ShuffleboardComponent() override = default;
|
||||
|
||||
/**
|
||||
* Sets custom properties for this component. Property names are
|
||||
|
||||
@@ -27,7 +27,7 @@ class ShuffleboardComponentBase : public virtual ShuffleboardValue {
|
||||
const wpi::Twine& title,
|
||||
const wpi::Twine& type = "");
|
||||
|
||||
virtual ~ShuffleboardComponentBase() = default;
|
||||
~ShuffleboardComponentBase() override = default;
|
||||
|
||||
void SetType(const wpi::Twine& type);
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ class ShuffleboardContainer : public virtual ShuffleboardValue,
|
||||
|
||||
ShuffleboardContainer(ShuffleboardContainer&& rhs) = default;
|
||||
|
||||
virtual ~ShuffleboardContainer() = default;
|
||||
~ShuffleboardContainer() override = default;
|
||||
|
||||
/**
|
||||
* Gets the components that are direct children of this container.
|
||||
|
||||
Reference in New Issue
Block a user