From: Christian Menard Date: Fri, 1 Jul 2016 14:50:18 +0000 (-0500) Subject: misc: fix a compile error due to incompability with SystemC 2.3.1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8064c8209d374aacb1e3a8176cccab7b88457bb;p=gem5.git misc: fix a compile error due to incompability with SystemC 2.3.1 This patch fixes an ambigous call compile error Committed by Jason Lowe-Power --- diff --git a/util/systemc/main.cc b/util/systemc/main.cc index 19482d069..c9fbd48a0 100644 --- a/util/systemc/main.cc +++ b/util/systemc/main.cc @@ -292,7 +292,7 @@ void SimControl::run() 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::from_value(wait_period)); } config_manager->loadState(*checkpoint);