diff options
author | Christian Menard <Christian.Menard@tu-dresden.de> | 2016-07-01 09:50:18 -0500 |
---|---|---|
committer | Christian Menard <Christian.Menard@tu-dresden.de> | 2016-07-01 09:50:18 -0500 |
commit | b8064c8209d374aacb1e3a8176cccab7b88457bb (patch) | |
tree | e9e768d728186f9ee5b916b3a048234adee84209 | |
parent | 9c20880fb59420b235c0abb7efc221d362294c3e (diff) | |
download | gem5-b8064c8209d374aacb1e3a8176cccab7b88457bb.tar.xz |
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 <jason@lowepower.com>
-rw-r--r-- | util/systemc/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |