chore: remove Unused Stopwatch::double operator

This commit is contained in:
sithlord48 2025-08-01 15:35:04 -04:00 committed by Nick Bolton
parent 4f9b042f5a
commit 92ae41852d
2 changed files with 0 additions and 14 deletions

View file

@ -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();
}

View file

@ -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: