summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterregionrestarting.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-05-03 08:52:32 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-05-03 08:52:32 -0400
commit9f620efa9dd60c5de6b7ea807d53bba922294726 (patch)
treef296457400e5edc4f50ba4a057d9fc81dcd1f5b9 /indra/newview/llfloaterregionrestarting.h
parent48e1979abaecc03af96e7e752e65c645083a4268 (diff)
Make LLLater store target time in mHandles; ditch 2nd unordered_map.
Instead of maintaining a whole separate unordered_map to look up target times, make room in the HandleMap entry for the target time. There's still circularity, but the split into doAtTime1() and doAtTime2() resolves it: since doAtTime2() accepts the mHandles iterator created by doAtTime1(), doAtTime2() can simply store the new mQueue handle_type into the appropriate slot. Also sprinkle in a few more override keywords for consistency.
Diffstat (limited to 'indra/newview/llfloaterregionrestarting.h')
-rw-r--r--indra/newview/llfloaterregionrestarting.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloaterregionrestarting.h b/indra/newview/llfloaterregionrestarting.h
index d254149e30..6d3639c40c 100644
--- a/indra/newview/llfloaterregionrestarting.h
+++ b/indra/newview/llfloaterregionrestarting.h
@@ -42,10 +42,10 @@ public:
private:
LLFloaterRegionRestarting(const LLSD& key);
virtual ~LLFloaterRegionRestarting();
- virtual BOOL postBuild();
+ BOOL postBuild() override;
bool tick() override;
- virtual void refresh();
- virtual void draw();
+ void refresh() override;
+ void draw() override;
virtual void regionChange();
std::string mName;