changeset 602835f8dc9d in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=602835f8dc9d
description:
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 <[email protected]>
diffstat:
util/systemc/main.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 354e5631a6c1 -r 602835f8dc9d util/systemc/main.cc
--- a/util/systemc/main.cc Fri Jul 01 09:48:43 2016 -0500
+++ b/util/systemc/main.cc Fri Jul 01 09:50:18 2016 -0500
@@ -292,7 +292,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::from_value(wait_period));
}
config_manager->loadState(*checkpoint);
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev