diff options
author | Gabe Black <gabeblack@google.com> | 2018-06-15 20:48:08 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-28 21:17:57 +0000 |
commit | 53779eb12e787e859c749a710a9e8f613e49a905 (patch) | |
tree | 223a7cb3202b611687ed22f9974054197be8c78f /src | |
parent | 8622fbf982ab6f54b171efbcccebfcfb4c2cadbe (diff) | |
download | gem5-53779eb12e787e859c749a710a9e8f613e49a905.tar.xz |
systemc: Add deprecated sc_time constructors.
Change-Id: Iffae751272302ff2996258a1ab31b086e12bbb8d
Reviewed-on: https://gem5-review.googlesource.com/11275
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/systemc/core/sc_time.cc | 10 | ||||
-rw-r--r-- | src/systemc/ext/core/sc_time.hh | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/systemc/core/sc_time.cc b/src/systemc/core/sc_time.cc index 5d6b6348f..ebc637baf 100644 --- a/src/systemc/core/sc_time.cc +++ b/src/systemc/core/sc_time.cc @@ -48,6 +48,16 @@ sc_time::sc_time(const sc_time &) warn("%s not implemented.\n", __PRETTY_FUNCTION__); } +sc_time::sc_time(double, bool) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + +sc_time::sc_time(sc_dt::uint64, bool) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + sc_time & sc_time::operator = (const sc_time &) { diff --git a/src/systemc/ext/core/sc_time.hh b/src/systemc/ext/core/sc_time.hh index d52ed8112..ff71d7055 100644 --- a/src/systemc/ext/core/sc_time.hh +++ b/src/systemc/ext/core/sc_time.hh @@ -55,6 +55,10 @@ class sc_time sc_time(double, sc_time_unit); sc_time(const sc_time &); + // Deprecated + sc_time(double, bool); + sc_time(sc_dt::uint64, bool); + sc_time &operator = (const sc_time &); sc_dt::uint64 value() const; |