summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-08-12 16:28:44 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-08-12 16:28:44 -0400
commit153b0573cd91361a0f674c0ce1b9d7cb47e2bbc0 (patch)
tree85f892932485c45cdfb086e3a5702bfd3684b1e6
parenta596c1ad2864d639bbab13e7f13fd9f029cf5d93 (diff)
Add virtual destructor to Throttle class.
-rw-r--r--indra/llcommon/throttle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/throttle.h b/indra/llcommon/throttle.h
index abf595e3c4..481d1d8f72 100644
--- a/indra/llcommon/throttle.h
+++ b/indra/llcommon/throttle.h
@@ -61,6 +61,7 @@ public:
Throttle(const std::string& desc, R C::* method, const C* instance, F64 interval):
Throttle(desc, LL::bind_front(method, instance), interval)
{}
+ virtual ~Throttle() {}
template <typename... ARGS>
auto operator()(ARGS... args)