30a31
> #include "base/types.hh"
242c243
< operator + (const sc_time &, const sc_time &)
---
> operator + (const sc_time &a, const sc_time &b)
244,245c245
< warn("%s not implemented.\n", __PRETTY_FUNCTION__);
< return sc_time();
---
> return sc_time::from_value(a.value() + b.value());
249c249
< operator - (const sc_time &, const sc_time &)
---
> operator - (const sc_time &a, const sc_time &b)
251,252c251
< warn("%s not implemented.\n", __PRETTY_FUNCTION__);
< return sc_time();
---
> return sc_time::from_value(a.value() - b.value());
308,309c307,308
< warn("%s not implemented.\n", __PRETTY_FUNCTION__);
< return *(const sc_time *)nullptr;
---
> static const sc_time MaxScTime = sc_time::from_value(MaxTick);
> return MaxScTime;