systemc: Add some error checks to sc_set_default_time_unit.
authorGabe Black <gabeblack@google.com>
Sun, 2 Sep 2018 00:49:20 +0000 (17:49 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 3 Oct 2018 00:47:35 +0000 (00:47 +0000)
commitf8217428d59e191013a6c8037fb945aaf7550db6
treec81c63aaf4337d1b95bf8208ec03ce897dc24788
parent902d2a598dcdc93ffe1778ad1d42f651b8a1b9ee
systemc: Add some error checks to sc_set_default_time_unit.

Change-Id: I1d21c56d3b39044d91c96c98d242a571c099707c
Reviewed-on: https://gem5-review.googlesource.com/c/12463
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/sc_time.cc