mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
ae6bdc9d25
commit
2109161534
@@ -78,7 +78,8 @@ class PowerDistributionsSimModel : public wpi::glass::PowerDistributionsModel {
|
||||
bool Exists() override { return true; }
|
||||
|
||||
void ForEachPowerDistribution(
|
||||
wpi::util::function_ref<void(wpi::glass::PowerDistributionModel& model, int index)>
|
||||
wpi::util::function_ref<void(wpi::glass::PowerDistributionModel& model,
|
||||
int index)>
|
||||
func) override;
|
||||
|
||||
private:
|
||||
@@ -101,7 +102,8 @@ void PowerDistributionsSimModel::Update() {
|
||||
}
|
||||
|
||||
void PowerDistributionsSimModel::ForEachPowerDistribution(
|
||||
wpi::util::function_ref<void(wpi::glass::PowerDistributionModel& model, int index)>
|
||||
wpi::util::function_ref<void(wpi::glass::PowerDistributionModel& model,
|
||||
int index)>
|
||||
func) {
|
||||
for (int32_t i = 0, iend = static_cast<int32_t>(m_models.size()); i < iend;
|
||||
++i) {
|
||||
|
||||
Reference in New Issue
Block a user