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>
This commit is contained in:
Christian Menard 2016-07-01 09:50:18 -05:00
parent 9c20880fb5
commit b8064c8209

View file

@ -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);