mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 02:12:37 +01:00
Codechange: Declare all IntervalTimers const, which can be const.
This commit is contained in:
@@ -833,7 +833,7 @@ public:
|
||||
}
|
||||
|
||||
/** Refresh the online servers on a regular interval. */
|
||||
IntervalTimer<TimerWindow> refresh_interval = {std::chrono::seconds(30), [this](uint) {
|
||||
const IntervalTimer<TimerWindow> refresh_interval = {std::chrono::seconds(30), [this](uint) {
|
||||
if (!this->searched_internet) return;
|
||||
|
||||
_network_coordinator_client.GetListing();
|
||||
|
||||
Reference in New Issue
Block a user