Codechange: Declare all IntervalTimers const, which can be const.
This commit is contained in:
+1
-1
@@ -308,7 +308,7 @@ struct SignListWindow : Window, SignList {
|
||||
}
|
||||
|
||||
/** Resort the sign listing on a regular interval. */
|
||||
IntervalTimer<TimerWindow> rebuild_interval = {std::chrono::seconds(3), [this](auto) {
|
||||
const IntervalTimer<TimerWindow> rebuild_interval = {std::chrono::seconds(3), [this](auto) {
|
||||
this->BuildSortSignList();
|
||||
this->SetDirty();
|
||||
}};
|
||||
|
||||
Reference in New Issue
Block a user