diff --git a/wpilibc/src/main/native/include/frc/shuffleboard/ShuffleboardComponent.h b/wpilibc/src/main/native/include/frc/shuffleboard/ShuffleboardComponent.h index 24f65a37b2..fc15948231 100644 --- a/wpilibc/src/main/native/include/frc/shuffleboard/ShuffleboardComponent.h +++ b/wpilibc/src/main/native/include/frc/shuffleboard/ShuffleboardComponent.h @@ -37,8 +37,7 @@ class ShuffleboardComponent : public ShuffleboardComponentBase { * @param properties the properties for this component * @return this component */ - Derived& WithProperties( - const wpi::StringMap>& properties); + Derived& WithProperties(const wpi::StringMap& properties); /** * Sets the position of this component in the tab. This has no effect if this diff --git a/wpilibc/src/main/native/include/frc/shuffleboard/ShuffleboardComponent.inc b/wpilibc/src/main/native/include/frc/shuffleboard/ShuffleboardComponent.inc index 9750d4ad40..63a4933181 100644 --- a/wpilibc/src/main/native/include/frc/shuffleboard/ShuffleboardComponent.inc +++ b/wpilibc/src/main/native/include/frc/shuffleboard/ShuffleboardComponent.inc @@ -21,7 +21,7 @@ ShuffleboardComponent::ShuffleboardComponent( template Derived& ShuffleboardComponent::WithProperties( - const wpi::StringMap>& properties) { + const wpi::StringMap& properties) { m_properties = properties; m_metadataDirty = true; return *static_cast(this);