no need to use TimeUnit<1> here
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 09 Jul 2010 12:52:09 +0200
changeset 6513 34f20269efcf
parent 6512 c68e57d9d88b
child 6514 92a84235d8f2
no need to use TimeUnit<1> here
src/common/data-rate.h
--- a/src/common/data-rate.h	Fri Jul 09 10:33:35 2010 +0200
+++ b/src/common/data-rate.h	Fri Jul 09 12:52:09 2010 +0200
@@ -125,8 +125,8 @@
  * \param rhs
  * \return Bits transmitted in rhs seconds at lhs b/s
  */
-double operator*(const DataRate& lhs, const TimeUnit<1>& rhs);
-double operator*(const TimeUnit<1>& lhs, const DataRate& rhs);
+double operator*(const DataRate& lhs, const Time& rhs);
+double operator*(const Time& lhs, const DataRate& rhs);
 
 } //namespace ns3