Skip to content

Commit e3e3e6b

Browse files
Alexander KurbatovAlexander Kurbatov
authored andcommitted
fix: Make linter happier
Signed-off-by: Alexander Kurbatov <Alexander.Kurbatov@acronis.com>
1 parent 850f8b5 commit e3e3e6b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/plugins/RepairMan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void RepairMan::OnStep(Builder*) {
2020
gAPI->observer().GetMinerals() == 0)
2121
return;
2222

23-
m_damaged_buildings.remove_if( [](const sc2::Unit* unit_) {
23+
m_damaged_buildings.remove_if([](const sc2::Unit* unit_) {
2424
return unit_->health == unit_->health_max || !unit_->is_alive;
2525
});
2626

src/plugins/RepairMan.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
struct RepairMan : Plugin {
1313
void OnStep(Builder* builder_) final;
1414

15-
void OnUnitDamaged(const sc2::Unit* unit_, float health_, float shields_, Builder*) final;
15+
void OnUnitDamaged(const sc2::Unit* unit_,
16+
float health_, float shields_, Builder*) final;
1617

1718
void OnUnitDestroyed(const sc2::Unit* unit_, Builder* builder_) final;
1819

0 commit comments

Comments
 (0)