1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 11:54:59 +00:00

LibCore: Remove CTimer::create() overloads in favor of construct()

This commit is contained in:
Andreas Kling 2019-09-21 18:13:17 +02:00
parent 9e00651e14
commit f4b51a63ec
13 changed files with 14 additions and 24 deletions

View file

@ -111,7 +111,7 @@ int main(int argc, char** argv)
auto* process_table_view = new ProcessTableView(*cpu_graph, process_table_container);
auto* memory_stats_widget = new MemoryStatsWidget(*memory_graph, graphs_container);
auto refresh_timer = CTimer::create(1000, [&] {
auto refresh_timer = CTimer::construct(1000, [&] {
process_table_view->refresh();
memory_stats_widget->refresh();
});