mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -41,10 +41,10 @@ class CommandTest : public testing::Test {
|
||||
|
||||
class ASubsystem : public Subsystem {
|
||||
private:
|
||||
Command *m_command;
|
||||
Command *m_command = nullptr;
|
||||
|
||||
public:
|
||||
ASubsystem(const char *name) : Subsystem(name) { m_command = nullptr; }
|
||||
ASubsystem(const char *name) : Subsystem(name) {}
|
||||
|
||||
virtual void InitDefaultCommand() override {
|
||||
if (m_command != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user