# HG changeset patch # Parent 4ad81380c5e82fbfd6f58a01450672c38f7a0a9e misc: fix a compile error due to incompability with SystemC 2.3.1 diff --git a/util/systemc/main.cc b/util/systemc/main.cc --- a/util/systemc/main.cc +++ b/util/systemc/main.cc @@ -289,7 +289,7 @@ std::cerr << "Waiting for " << wait_period << "ps for" " SystemC to catch up to gem5\n"; - wait(sc_core::sc_time(wait_period, sc_core::SC_PS)); + wait(sc_core::sc_time::time_from_value(wait_period)); } config_manager->loadState(*checkpoint);