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 {