mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 23:41:50 +00:00
fix -Wunused-lambda-capture
This commit is contained in:
parent
8a3ad8c728
commit
1a68371d85
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ void Container::act(float delta) {
|
||||||
GUI& gui = this->gui;
|
GUI& gui = this->gui;
|
||||||
intervalEvents.erase(std::remove_if(
|
intervalEvents.erase(std::remove_if(
|
||||||
intervalEvents.begin(), intervalEvents.end(),
|
intervalEvents.begin(), intervalEvents.end(),
|
||||||
[&gui](const IntervalEvent& event) {
|
[](const IntervalEvent& event) {
|
||||||
return event.repeat == 0;
|
return event.repeat == 0;
|
||||||
}
|
}
|
||||||
), intervalEvents.end());
|
), intervalEvents.end());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue