diff --git a/src/lib/base/Stopwatch.cpp b/src/lib/base/Stopwatch.cpp index 614a7a570..3c03bf9e0 100644 --- a/src/lib/base/Stopwatch.cpp +++ b/src/lib/base/Stopwatch.cpp @@ -75,11 +75,6 @@ double Stopwatch::getTime() } } -Stopwatch::operator double() -{ - return getTime(); -} - bool Stopwatch::isStopped() const { return m_stopped; @@ -93,8 +88,3 @@ double Stopwatch::getTime() const return Arch::time() - m_mark; } } - -Stopwatch::operator double() const -{ - return getTime(); -} diff --git a/src/lib/base/Stopwatch.h b/src/lib/base/Stopwatch.h index b85d2ef28..cc4c58007 100644 --- a/src/lib/base/Stopwatch.h +++ b/src/lib/base/Stopwatch.h @@ -66,8 +66,6 @@ public: returns zero if the trigger is set). */ double getTime(); - //! Same as getTime() - operator double(); //@} //! @name accessors //@{ @@ -85,8 +83,6 @@ public: stopwatch to start and will not clear the trigger. */ double getTime() const; - //! Same as getTime() const - operator double() const; //@} private: