mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
std::shared_ptr doesn't need to be initialized with nullptr. The C++ standard already guarantees it will behave as if it is.
Change-Id: I160567e9fb2857f8d7ac4acbe093c4100a7421eb
This commit is contained in:
@@ -41,7 +41,7 @@ class PowerDistributionPanel : public SensorBase, public LiveWindowSendable {
|
||||
std::shared_ptr<ITable> GetTable() const override;
|
||||
|
||||
private:
|
||||
std::shared_ptr<ITable> m_table = nullptr;
|
||||
std::shared_ptr<ITable> m_table;
|
||||
uint8_t m_module;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user