mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +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:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "Base.h"
|
||||
|
||||
std::shared_ptr<RobotStateInterface> RobotState::impl = nullptr;
|
||||
std::shared_ptr<RobotStateInterface> RobotState::impl;
|
||||
|
||||
void RobotState::SetImplementation(RobotStateInterface& i) {
|
||||
impl = std::shared_ptr<RobotStateInterface>(
|
||||
|
||||
Reference in New Issue
Block a user