misc: fix a compile error due to incompability with SystemC 2.3.1
authorChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 1 Jul 2016 14:50:18 +0000 (09:50 -0500)
committerChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 1 Jul 2016 14:50:18 +0000 (09:50 -0500)
This patch fixes an ambigous call compile error

Committed by Jason Lowe-Power <jason@lowepower.com>

util/systemc/main.cc

index 19482d069261af16f4de65c20ba8b461ea8e62a2..c9fbd48a077cc30934bef0fb69d8cce3e13e33e6 100644 (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);