From 548b20f75a050a627b9c67e25865457cc849cbbc Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Fri, 2 Feb 2007 19:14:16 +0100 Subject: [PATCH] added useless Time::Seconds method when doing testing for the removal of the Seconds class. Remove it. --- src/simulator/nstime.h | 2 -- src/simulator/time.cc | 6 ------ 2 files changed, 8 deletions(-) diff --git a/src/simulator/nstime.h b/src/simulator/nstime.h index af348100e..a0f1e0394 100644 --- a/src/simulator/nstime.h +++ b/src/simulator/nstime.h @@ -330,8 +330,6 @@ public: 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. diff --git a/src/simulator/time.cc b/src/simulator/time.cc index 90ca0dc08..212dd0cab 100644 --- a/src/simulator/time.cc +++ b/src/simulator/time.cc @@ -33,12 +33,6 @@ Time::Time (HighPrecision const& value) : TimeUnit<1> (value) {} -Time -Time::Seconds (double seconds) -{ - return Seconds (seconds); -} - double Time::GetSeconds (void) const {