diff options
author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-09-24 02:59:48 +0200 |
---|---|---|
committer | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-09-24 02:59:48 +0200 |
commit | 776fae7dd7a6b5c1d0a2536248e767fdf4a565d4 (patch) | |
tree | 1f99a78cf8e2e0a153696bbec1e385d3f4d0018f /indra/newview/llwatchdog.h | |
parent | 3b6bdee4b834f92b04ada30668d538002fdc698b (diff) |
Reduce memory allocations pinging the mainloop timeout
Diffstat (limited to 'indra/newview/llwatchdog.h')
-rw-r--r-- | indra/newview/llwatchdog.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llwatchdog.h b/indra/newview/llwatchdog.h index fe8932e298..1931c582b0 100644 --- a/indra/newview/llwatchdog.h +++ b/indra/newview/llwatchdog.h @@ -56,14 +56,14 @@ public: LLWatchdogTimeout(); virtual ~LLWatchdogTimeout(); - /* virtual */ bool isAlive() const; - /* virtual */ void reset(); - /* virtual */ void start() { start(""); } - /* virtual */ void stop(); + bool isAlive() const override; + void reset() override; + void start() override { start(""); } + void stop() override; - void start(const std::string& state); + void start(std::string_view state); void setTimeout(F32 d); - void ping(const std::string& state); + void ping(std::string_view state); const std::string& getState() {return mPingState; } private: |