Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/11275

Change subject: systemc: Add deprecated sc_time constructors.
......................................................................

systemc: Add deprecated sc_time constructors.

Change-Id: Iffae751272302ff2996258a1ab31b086e12bbb8d
---
M src/systemc/core/sc_time.cc
M src/systemc/ext/core/sc_time.hh
2 files changed, 14 insertions(+), 0 deletions(-)



diff --git a/src/systemc/core/sc_time.cc b/src/systemc/core/sc_time.cc
index 5d6b634..ebc637b 100644
--- a/src/systemc/core/sc_time.cc
+++ b/src/systemc/core/sc_time.cc
@@ -48,6 +48,16 @@
     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 d52ed81..ff71d70 100644
--- a/src/systemc/ext/core/sc_time.hh
+++ b/src/systemc/ext/core/sc_time.hh
@@ -55,6 +55,10 @@
     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;

--
To view, visit https://gem5-review.googlesource.com/11275
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Iffae751272302ff2996258a1ab31b086e12bbb8d
Gerrit-Change-Number: 11275
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to