From b8064c8209d374aacb1e3a8176cccab7b88457bb Mon Sep 17 00:00:00 2001 From: Christian Menard Date: Fri, 1 Jul 2016 09:50:18 -0500 Subject: [PATCH] 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 --- util/systemc/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2