mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 01:12:39 +01:00
Codechange: Declare all IntervalTimers const, which can be const.
This commit is contained in:
@@ -1212,7 +1212,7 @@ struct PaymentRatesGraphWindow : BaseGraphWindow {
|
||||
}
|
||||
|
||||
/** Update the payment rates on a regular interval. */
|
||||
IntervalTimer<TimerWindow> update_payment_interval = {std::chrono::seconds(3), [this](auto) {
|
||||
const IntervalTimer<TimerWindow> update_payment_interval = {std::chrono::seconds(3), [this](auto) {
|
||||
this->UpdatePaymentRates();
|
||||
}};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user