diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-05-23 15:02:12 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-05-23 15:02:12 -0400 |
commit | e2f179b9edebca1557ce3f774781bb9b9350b781 (patch) | |
tree | 615a9cac64bb02e901f793946b706df0f4b8fdc0 | |
parent | 91a549fb1fca4924dec33a6206990b7d098cfd4e (diff) |
Remove commented-out methods in a couple LLEventTimer subclasses.
-rw-r--r-- | indra/newview/llappearancemgr.cpp | 3 | ||||
-rw-r--r-- | indra/newview/lltoast.cpp | 9 | ||||
-rw-r--r-- | indra/newview/lltoast.h | 2 |
3 files changed, 0 insertions, 14 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 734ee277bf..30f07a873b 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -127,10 +127,7 @@ public: LLAppearanceMgr::instance().setOutfitLocked(false); return false; } -// void reset() { mEventTimer.reset(); } bool getStarted() { return isRunning(); } - -// LLTimer& getEventTimer() { return mEventTimer;} }; // support for secondlife:///app/appearance SLapps diff --git a/indra/newview/lltoast.cpp b/indra/newview/lltoast.cpp index 5fc0ea855e..2041d86fc6 100644 --- a/indra/newview/lltoast.cpp +++ b/indra/newview/lltoast.cpp @@ -65,15 +65,6 @@ void LLToastLifeTimer::setPeriod(F32 period) mPeriod = period; } -/*==========================================================================*| -F32 LLToastLifeTimer::getRemainingTimeF32() -{ - F32 et = mEventTimer.getElapsedTimeF32(); - if (!getStarted() || et > mPeriod) return 0.0f; - return mPeriod - et; -} -|*==========================================================================*/ - //-------------------------------------------------------------------------- LLToast::Params::Params() : can_fade("can_fade", true), diff --git a/indra/newview/lltoast.h b/indra/newview/lltoast.h index 460317aaa9..bb5bd981e2 100644 --- a/indra/newview/lltoast.h +++ b/indra/newview/lltoast.h @@ -57,9 +57,7 @@ public: void restart(); bool getStarted(); void setPeriod(F32 period); -// F32 getRemainingTimeF32(); -// LLTimer& getEventTimer() { return mEventTimer;} private : LLToast* mToast; }; |