added useless Time::Seconds method when doing testing for the removal of the Seconds class. Remove it.
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 02 Feb 2007 19:14:16 +0100
changeset 212 e6c88c1bcc85
parent 211 395e8b0d32a9
child 213 1e6d6776b284
added useless Time::Seconds method when doing testing for the removal of the Seconds class. Remove it.
src/simulator/nstime.h
src/simulator/time.cc
--- a/src/simulator/nstime.h	Fri Feb 02 15:39:47 2007 +0100
+++ b/src/simulator/nstime.h	Fri Feb 02 19:14:16 2007 +0100
@@ -330,8 +330,6 @@
   Time (TimeUnit<1> time);
   Time (HighPrecision const& value);
 
-  static Time Seconds (double seconds);
-
   /**
    * \returns an approximation in seconds of the time stored in this
    *          instance.
--- a/src/simulator/time.cc	Fri Feb 02 15:39:47 2007 +0100
+++ b/src/simulator/time.cc	Fri Feb 02 19:14:16 2007 +0100
@@ -33,12 +33,6 @@
   : TimeUnit<1> (value)
 {}
 
-Time 
-Time::Seconds (double seconds)
-{
-  return Seconds (seconds);
-}
-
 double 
 Time::GetSeconds (void) const
 {