summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_refcounted.h
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-11-27 11:41:03 -0500
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-11-27 22:14:23 +0200
commit0ea816a6c26e17bf0a2ee8274363837d4bd0ef94 (patch)
tree204f2ae97a2bee4252bdd2e9ed885b654d97c73d /indra/llcorehttp/_refcounted.h
parent0fa5991d067304d103d8bd18702e3e8806de07e3 (diff)
Replace dependency on boost thread with std and change HttpService to use a similar thread shutdown mechanism to LLThread
Diffstat (limited to 'indra/llcorehttp/_refcounted.h')
-rw-r--r--indra/llcorehttp/_refcounted.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llcorehttp/_refcounted.h b/indra/llcorehttp/_refcounted.h
index 7470965a7f..45fe3cb090 100644
--- a/indra/llcorehttp/_refcounted.h
+++ b/indra/llcorehttp/_refcounted.h
@@ -43,11 +43,11 @@ namespace LLCoreInt
class RefCounted
{
-private:
- RefCounted(); // Not defined - may not be default constructed
- void operator=(const RefCounted &); // Not defined
-
public:
+ RefCounted() = delete; // Not defined - may not be default constructed
+ RefCounted(const RefCounted&) = delete; // Not defined - may not be copy constructed
+ void operator=(const RefCounted&) = delete; // Not defined
+
explicit RefCounted(bool const implicit)
: mRefCount(implicit)
{}